I've been testing your code, and I have the same problem with the buttons.
What is the program you use to make the compilation?
I have used the Arduino IDE 1.5.2. Now installed atmel studio 6.1 but the code has many errors, and not premite upload the code, maybe the settings I have in the program, not well.
I have to do more tests to see.
Thank you
José Rodrigues
|