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:
- 6:df6d8ba1907a
- Parent:
- 5:37733f175430
- Child:
- 8:bfcfda6b38fe
--- a/main.cpp Fri Sep 12 11:43:36 2014 +0000 +++ b/main.cpp Fri Sep 12 12:12:01 2014 +0000 @@ -45,7 +45,7 @@ float ir_m,fsr_m; //sensor of master float ir_s,fsr_s; //sensor of slave sync(SYNC_SENSOR,NULL,NULL); - receiveSensor( &ir_s, &fsr_s ); + recieveSensor( &ir_s, &fsr_s ); led4 = ( ir_s>0.5 ? 1 : 0 ); led2 = ( led2 ? 0 : 1 ); wait(1);