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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:732faa546abb | 2017-04-25 | mspeed93 | another format update |
2:9179421b2288 | 2017-04-25 | mspeed93 | Reformatted code; |
1:b74e9a2a3fa5 | 2017-04-24 | mspeed93 | Full robot code |
0:928ee2609d39 | 2017-02-16 | mspeed93 | A sample of coding activating/deactivating the servo motors when the sonic sensor registers beneath 50 cm |