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 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 24 days ago -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26