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
Servo.lib@0:928ee2609d39, 2017-02-16 (annotated)
- Committer:
- mspeed93
- Date:
- Thu Feb 16 22:41:28 2017 +0000
- Revision:
- 0:928ee2609d39
A sample of coding activating/deactivating the servo motors when the sonic sensor registers beneath 50 cm
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mspeed93 | 0:928ee2609d39 | 1 | http://developer.mbed.org/users/simon/code/Servo/#36b69a7ced07 |