Silent Q

Azog's little slice of the world. Whee.

Better techniques?

azog | October 26, 2005

Well, since you’re probably not interested in all my code (and not interested in general!), and it’s gotten bigger, I’m just linking it rather than having in-line. #1 – it seems better to use the processor’s sleep mode, rather than endless jmps. The CPU wakes up during an interrupt, and when the interrupt has finished, [...]

New techniques

azog | October 25, 2005

This snippet is what I learned trying various new things: #1 – the hardest part was using the LCD. The LCD is broken down in a strange arrangement of rows and columns which is/was hard for me to wrap my head around. I am still not sure I fully comprehend this. For now, I need [...]

Fixing the AVR Butterfly interrupts

azog | October 19, 2005

Getting back to the AVR Butterfly, I fixed the code for interrupts. Here I use a timer, a timer prescaler, and the timer compare interrupt to turn an LED off and on. I had to set the prescaler because the device was too fast even with a 16-bit timer counting from 0×0000-0xFFFF, so the prescaler [...]