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

Committer:
mspeed93
Date:
2017-04-25
Revision:
3:732faa546abb
Parent:
0:928ee2609d39

File content as of revision 3:732faa546abb:

http://developer.mbed.org/users/simon/code/Servo/#36b69a7ced07