the problem is back even with new IC. any help on this?? Cant I declare Digital pin 0 to output? still watever code i run its now showing a voltage of 5V. What could be the problem??
So can you upload sketches to your board, like blink? What are you wishing to do with pin 0 on the arduino?
QuoteSo can you upload sketches to your board, like blink? What are you wishing to do with pin 0 on the arduino?Yes. I can. But the problem is even the blinky code on any pin say pin 10 works... but still the Tx pin remains at high state...I am trying to use pin 0 as a normal output pin. and I am not using serial commands... If u ask me will the pin 0 work? it works. because if i explicitly make it LOW if a particular condition is met Pin 0 output becomes zero. But the problem is when its in standy or not doing any operation on pin 0 like in blinky code on pin 13, Tx pin it goes high for no apparent reason.I even tried setting Output to LOW in the setup function thinking that default value of Pin 0 may be HIGH and I will set it to LOW once in setup so that it low whwn rest of the program runs. but still Tx pin goes HIGH. and Currently its showing a voltage of 3.6V.
Again, if pin 0 is in it's default input pin mode you will still measure +5vdc on it because it's wired to the Tx pin of the serial USB convertor chip.
Why must you not want to see a positive voltage on pin 0 if you are not using it?
So wont specifying a the pin to LOW in setup function solve the problem? Apparently it is not...
In setup change the pin to output mode, then set it to digitalOut low, problem solved, no?
I want to whether there is some statements other than Serial commands which might trigger the pin 0 to go high randomly.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16