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

SRF02.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/eencae/code/SRF02/#cb489f486ece