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.
|
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
ass | 2 years ago | |
main.asm | 2 years ago | |
timers.asm | 2 years ago |
README.md
02-lpm3wait
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.)