MCUdude / MightyCore

Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Other
637 stars 181 forks source link

LED flashing on A, C, D, Atmega16 #287

Closed Stass48 closed 6 months ago

Stass48 commented 6 months ago

Hello, I have a similar problem. I can't blink the LEDs using the standard code. The code works with port B pins, but for some reason it doesn't work with other ports. Unlike the case above, I don't need to control the LEDs on the entire port at the same time, I need to control individual pins. In general, the project plans to use 16 buttons and 14 LEDs. I haven’t tried setting up pins as inputs yet, I hope there won’t be any problems with this?

Stass48 commented 6 months ago

Sorry. RTFM