Hi @ All! I have an arduino uno board. In the past I programmed with processing a program to control by keyboard the outputs on the uno. By launching arduino and uploading the standardfirmata program, the uno became able to listen to my program in processing. When I run my processing program, it works seriously fine with an output of 5 V(when I press a key). Now I need to program in the arduino software because it has to run on itself, however when I program a small program with only 2 switch inputs it doesn't work properly. When I program that it has to read pin 2 and if High, pin 4 needs to be high which has to pull up a relays. However sometimes the LED instead of relays I've connected in test phase blinks randomly? When I push the switch and release it stays on for 2 seconds sometimes and fades out. How come? arduino board is new and tried mega and another uno, same problem.
Thanks in advance, Egbert van Veen