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 1:738be9ff3851, committed 2016-01-08
- Comitter:
- Matthias_Praja
- Date:
- Fri Jan 08 15:59:14 2016 +0000
- Parent:
- 0:acfdc7c80165
- Commit message:
- Linesensor
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 20 06:59:40 2014 +0000
+++ b/main.cpp Fri Jan 08 15:59:14 2016 +0000
@@ -1,13 +1,9 @@
-/***********************************
-name: BERTL14_LINESENSOR
-author: Wolfgang Raimann
-email: rai@bulme.at
-description:
- Die vier Sensoren auf der Unterseite werden auf die LEDs D10-D13 durchgeschaltet
-***********************************/
+//Die vier Sensoren auf der Unterseite werden auf die LEDs D10-D13 durchgeschaltet
+//***********************************//
#include "mbed.h"
-
+DigitalOut vmotor(P1_2);
+DigitalOut enline(P1_6);
DigitalOut myled(LED1);
@@ -17,6 +13,8 @@
int main() {
+ vmotor =1 ;
+ enline=1;
while(1) {
leds = linesensor;
}
