Go Down

Topic: Arduino leonardo code structure (Read 2884 times) previous topic - next topic


With 1 butn only i can make 'a' appear on the monitor serie.
So i believe that my montage for the 2nd butn isnt correct since it doesnt print the 'b'


If by montage you mean wiring that could be right.  Test the program by shorting the input pin for the letter 'b' to the casing of the USB socket, which is at GND.

Note that as written my program will produce a letter each time that the corresponding button is pressed (input pin taken to GND) and not a succession of characters whilst the pin is grounded.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up