I wanted to test out Nick Gammon’s code, so I set up his example circuit:īut it was still dorking out. I ended up asking some questions on the Arduino Stack Exchange to really understand what I was doing and should do. To get the 32.kHz clock to work was challenging, because I forgot some minor aspects of how to set the circuit up. This way I can keep track of time even as the microcontroller is off and saving power. ![]() ![]() ![]() ATmega328P 32.768kHz, sleep modes, and new schematic : binary watchįor the past week I’ve been debugging hardware and software to get my barebones ATmega328P to work with a 32.768kHz oscillator as Timer 2, which will tick outside of the sleeping microcontroller.
0 Comments
Leave a Reply. |