just wanted to make a simple project for the school .... i had decided to use three us sensors to measure distances from three sides ...front, left and right...and attached a l293d motor driving module....using a simple logic that if front distance is more than limit bot goes front...if not then it compares the left and right distances and turns towards the large distance side.....but on writing the code m getting only one error....as shown below
Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Uno"
_123456.ino: In function 'void loop()':
_123456.ino:82:6: error: 'else' without a previous 'if'
_123456.ino:91:5: error: 'else' without a previous 'if'
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.