need HELP with Sharp ir sensor and writing code
hey y'all i'm reviewing of message boards online still i'm totally clueless , don't know how begin whole process of writing code project:
using sharp ir sensor gradually increase pull of electromagnet object moves closer sensor.
can me begin process??
i know lot ask scratch none of getting through me.
i'm guessing need use if() statement if object 80 cm sensor, electromagnet @ 0lb pull , object moves closer, electromagnets pull increase respectively.
i'm sure of hardware setup far arduino, sharp, electromagnet, tip 120, resistors , power source concerned ... need understanding syntax of code.
thanks can give.
using sharp ir sensor gradually increase pull of electromagnet object moves closer sensor.
can me begin process??
i know lot ask scratch none of getting through me.
i'm guessing need use if() statement if object 80 cm sensor, electromagnet @ 0lb pull , object moves closer, electromagnets pull increase respectively.
i'm sure of hardware setup far arduino, sharp, electromagnet, tip 120, resistors , power source concerned ... need understanding syntax of code.
thanks can give.
if know how if statements way. you use nested if statements 'else if'
http://arduino.cc/en/reference/else
http://arduino.cc/en/reference/else
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > need HELP with Sharp ir sensor and writing code
arduino
Comments
Post a Comment