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 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33