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
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Home Assistant/MySensors quirks
Development • 15 days ago • OldSurferDude 15 days ago -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
PJON and Minicore not working
Development • 10 days ago • Trand 10 days ago -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23