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-02-16
Revision:
0:928ee2609d39

File content as of revision 0:928ee2609d39:

http://developer.mbed.org/users/eencae/code/SRF02/#cb489f486ece