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 -
MQTT GW on ESP8266 supporting SSL/TLS?
Development • 4 Jun 2024, 10:21 • bgunnarb 27 Jun 2024, 13:53 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 days ago • Trand 6 days ago -
(SOLVED) Sensebender Gateway and HomeAssistant: where does the battery level come from?
Development • 6 Jan 2024, 19:27 • pikim 6 Jan 2024, 19:27 -
Sensebender Gateway (SAMD21)
Development • 25 Dec 2021, 23:02 • pikim 3 Jan 2024, 12:12 -
Gateways
Development • 6 Feb 2024, 01:16 • OldSurferDude 6 Feb 2024, 14:22