MCUdude / MightyCore

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

issues to set atmega324pb in sleep mode #233

Closed DirAcorn closed 11 months ago

DirAcorn commented 2 years ago

i have issues to set atmega324pb in sleep mode. this entry in mode sleep but te current of consume don't decreases

MCUdude commented 11 months ago

The avr-libc sleep.h library is probably not updated to support the ATmega324PB yet, and this isn't something I can easily fix. Use the low-lever registers instead.