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...
Saturday, 17 March 2012 - 19:49
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...
Wednesday, 11 January 2012 - 04:28
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...
Friday, 28 October 2011 - 22:36
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,...
Monday, 18 July 2011 - 19:59
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...
Thursday, 7 July 2011 - 19:13
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...
Monday, 31 January 2011 - 19:54
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...
Saturday, 24 July 2010 - 22:31
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...
Saturday, 26 September 2009 - 17:01
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...
Tuesday, 22 September 2009 - 19:45
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...
Monday, 10 August 2009 - 18:06
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....
Friday, 7 August 2009 - 20:47
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...
Saturday, 13 December 2008 - 20:47

Pages