RobotDynOfficial / Lib-RBD-Dimmer-for-Mega-UNO-Leonardo

Here you can find sketches or libraries of our products.
https://www.robotdyn.com
21 stars 7 forks source link

Use different pin instead of D2 #2

Open MartinsK123 opened 5 years ago

MartinsK123 commented 5 years ago

Hi, is it possible to use different PIN, instead of hardcoded D2? It seems like D2 is conflicting with ESP8266 WiFi module on my Arduino Mega. I can't find where D2 is hardcoded in your library. Could you please provide same information. Thank You.

reins-ch commented 5 years ago

This is the pin associated with the hardware timer that's integrated in the Atmega chip. There is no way to change this pin.

MartinsK123 commented 5 years ago

Thank you for your answer. Will try to put WiFi on differend PINs.