You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

293 B


This requires a 32768 Hz crystal (quartz) between XTAL1/2 pins.

Initialise and switch to 8MHz clock. Then periodically blink a LED. The delay code is in timers.asm, and it uses LPM3 sleep (set to use the crystal) for waiting.

(Stolen from Matthias Koch's mecrisp example.)