Type in the full discussion title or a part of it.
Discussion Title Created date
Is there a clever way to sync with an RTC chip?
Hi Folks, I've got a clock which uses an ATtiny84 to drive the display, and a RTC chip to keep time (it's battery-backup feature is the main reason for using a separate chip). Is...
Sat. Mar 17, 2012 - 07:49 PM
Will this LED and Button arrangement damage the I/O pin?
Hi folks, I already sent my design off to the fab house and realized that I made an error in the design. I have one pin driving an LED and reading a button. But I didn't add a...
Wed. Jan 11, 2012 - 04:28 AM
Counting cycles in disassembly - am I doing it right?
Hi folks, I'm driving shift registers in an interrupt. I'm using Binary Coded Modulation so the time between interrupts varies, but the shortest one is 256 cycles. I want to fine...
Fri. Oct 28, 2011 - 10:36 PM
avr-as string handling: strange stuff with null termination
I'm using the AVR-GCC toolchain to compile a bit of hello world code for an LCD screen and ATmega168. I can get everything to work if my message is an odd number of characters,...
Mon. Jul 18, 2011 - 07:59 PM
Assembler newbie: Can't understand IO address offset
Hi all, I'm trying to learn a bit of assembler out of curiosity. I just spent a fair amount of time wondering why I couldn't light some LEDs using this code: ldi mp,0xFF out...
Thu. Jul 7, 2011 - 07:13 PM
Conditional syntax for different MCU not working
Hi Folks, I'm trying to make my code work easily for different pin-compatible chips. I did my prototyping on an ATmega168 and have moved to an ATmega8 but would like to make the...
Mon. Jan 31, 2011 - 07:54 PM
Need advice on keeping track of time
I'm working on some code that has what I call a 'system tick' that increments via an interrupt every 10ms. I built my code around this concept, resetting it to 0 in the main loop...
Sat. Jul 24, 2010 - 10:31 PM
Is this an optimal way to use a timer?
I folks, I'm trying to understand good ways to use timers. Tell me if this is a reasonable way to do things. Let's say I'm running at 8MHz and I want to use a 16-bit timer to...
Sat. Sep 26, 2009 - 05:01 PM
What protocol should I be using - LCD display
Hi folks, I've got an LCD that I salvaged from a cell phone. It's working but I'm bit-banging all the communications and it was pointed out to me that this might work better if I...
Tue. Sep 22, 2009 - 07:45 PM
tiny2313: PD0 unable to sink when all PortD pins are low?
I'm observing some bizarre behavior with an ATtiny2313 and wanted to know if someone can tell my why. I pulled a 7-segment LED display out of some junk electronics. This display...
Mon. Aug 10, 2009 - 06:06 PM
Program Flow advice - Functions and Button inputs
Hello All, I'm seeking some advice on how to control program flow. I've just made a small breakout board that uses a shift register to drive a 2-digit seven segment display....
Fri. Aug 7, 2009 - 08:47 PM
HUGE size difference - Makefile vs. Eclipse
Hi folks, I'm just starting to work with Eclipse IDE and the avr-eclipse plugin this week. I have a project that I started just working with a text editor (kate on linux) and a...
Sat. Dec 13, 2008 - 08:47 PM

Pages