Arduino Forum
Help with code that is not working correctly
Projects
Programming
CrossRoads
October 16, 2012, 3:25am
19
Try adding some ()s, such as:
if ((incomingByte == 'H') && (buttonState == HIGH)) {
show post in topic
Related topics
Topic
Replies
Views
Activity
Reading serial data and moving servo
Programming
9
1916
May 5, 2021
Have servo connected to Arduino respond to incomingByte
Programming
13
4235
May 5, 2021
controlling a servo with commands.
Programming
13
4929
May 5, 2021
Editing examples
Interfacing
7
1269
May 6, 2021
Interfacing a servo with Serial
Interfacing
4
2041
May 6, 2021