Pin 1 not usable
-
Hello all,
I try to use on Arduino pro mini the pin 1 (Tx) as output to trig a triac. But Since I have been using MySensors, I can't use this pin. Do you have any informations on this problem ? is there a link with led Blinking ?
regads
-
Serial uses pin 1 so if you have DEBUG turned on or are using Serial anywhere in your sketch you will not be able to use pin 1.
Except that, nothing in MySensors is using pin1. I use that pin myself for one sensor. Could you post your sketch?
-
In the development branch you can disable MySensors from using pin 0/1
https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/MyConfig.h#L49
-
Hello, thank you for your reply. You are right, it works fine without debug.
Thanks again
-
@flylowgofast great! Thanks for reporting back