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.
Dependencies: MODSERIAL mbed-rtos mbed
Fork of Master by
Diff: main.cpp
- Revision:
- 8:bfcfda6b38fe
- Parent:
- 6:df6d8ba1907a
- Child:
- 9:6057314dc8ec
--- a/main.cpp Fri Sep 12 23:01:17 2014 +0000 +++ b/main.cpp Sat Sep 13 09:42:55 2014 +0000 @@ -44,7 +44,6 @@ void masterLoop(){ float ir_m,fsr_m; //sensor of master float ir_s,fsr_s; //sensor of slave - sync(SYNC_SENSOR,NULL,NULL); recieveSensor( &ir_s, &fsr_s ); led4 = ( ir_s>0.5 ? 1 : 0 ); led2 = ( led2 ? 0 : 1 );