code using the sonic sensor to activate motor when the distance value dips beneath 50cm, seems to be a problem compiling with the else if statement. Apparently an unclosed bracket.
Dependencies: SRF02 Servo mbed
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
3:732faa546abb | 2017-04-25 | another format update | File Diff Annotate |
2:9179421b2288 | 2017-04-25 | Reformatted code; | File Diff Annotate |
1:b74e9a2a3fa5 | 2017-04-24 | Full robot code | File Diff Annotate |
0:928ee2609d39 | 2017-02-16 | A sample of coding activating/deactivating the servo motors when the sonic sensor registers beneath 50 cm | File Diff Annotate |