Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BERTL14_LINESENSOR by
Revision 0:acfdc7c80165, committed 2014-05-20
- Comitter:
- bulme_rai
- Date:
- Tue May 20 06:59:40 2014 +0000
- Child:
- 1:738be9ff3851
- Commit message:
- Testprogramm f?r BERTL 2014, der BULME Graz/G?sting.; Die Taster vom I2C Expander werden direkt auf die LED's des Expander geschalten
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue May 20 06:59:40 2014 +0000
@@ -0,0 +1,23 @@
+/***********************************
+name: BERTL14_LINESENSOR
+author: Wolfgang Raimann
+email: rai@bulme.at
+description:
+ Die vier Sensoren auf der Unterseite werden auf die LEDs D10-D13 durchgeschaltet
+***********************************/
+
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+
+BusIn linesensor(p18, p16, p19, p17);
+
+BusOut leds(LED1, LED2, LED3, LED4);
+
+
+int main() {
+ while(1) {
+ leds = linesensor;
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue May 20 06:59:40 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/0b3ab51c8877 \ No newline at end of file
