Type in the full discussion title or a part of it.
Discussion Title Created date
Header library setup
Say I have a program called a.c and a header and library files named header.h and header.c In a subdir avr there are three subdir to avr named code, where a.c resides and include...
Mon. Oct 14, 2013 - 10:05 PM
Xmitting via USART Interrupts
The following code works but I would like to use interrupts to Xmit text via the USART. In the last few lines below I don't believe the lines sprintf and str_send() are using...
Mon. Sep 3, 2012 - 08:11 PM
USART problem
On an STK500, connecting the Tx/Rx pins for loopback works great, what is typed on the computer is received back. Then a mega16 is programmed using the following code from Dean...
Tue. Aug 28, 2012 - 04:35 PM
Logging AVR data on PC
I have an STK500, an Arduino Duemilanove Mega328, a BBUSB USB/RS232 adapter, a couple of PL-2303 USB/RS232 adapters. What I want to do is take readings with an AVR analog port,...
Tue. Aug 21, 2012 - 03:24 PM
Problems switching between AVRISPmkII
I have two AVRISPmkII. Currently I'm using a Mega8515 on a AVR-P40B-8515 PCB by Olimex. When switching between AVRISPmkII the second programmer USB address in not reconized. I...
Wed. Aug 8, 2012 - 08:21 PM
mega16 PORTC acting strange
On an STK500 //Using a mega16 PORT = 0x00; // This gives LEDs 0, 1, 6, 7, on (low) // LEDs 2, 3, 4, 5 off (high) why? //Using a mega324 PORTC = 0x00; // All LEDs...
Sun. Mar 4, 2012 - 05:36 AM
Is simple C or ASM LCD Busy Flag check function
I have written my own HD44780 display functions that do everything I want to do except it usees delays to compensate for the AVR being much faster than the LCD. Everything in my...
Fri. Feb 24, 2012 - 12:39 AM
Atmega88pa using PB7 and PB6 I/O
I have an Atmega88pa, it's signature is different than an Atmega88 but I have overcome that. I need to have the ports PB7 and PB6 to act as I/O not as a clock. Several years ago I...
Thu. Dec 15, 2011 - 05:03 PM
Passing a #define to include files
In program like program.c I have #define lcd_ddr DDRC #define lcd_port PORTC In an include like include.h I would like to use something like lcd_ddr = 0xff; lcd_port =...
Sun. Feb 6, 2011 - 05:33 AM
In switch/case can a range be used for case
Have a 7-segment led display I'm trying to obtain the tens digit for. Here is the code. if (time > 89) t = _7seg_doit(9); else if (time > 79) t = _7seg_doit(8...
Sat. Jan 8, 2011 - 12:21 AM
Slow programming speed
I'm using Studio in Windoze to program a chip. If you blink twice you will miss seeing it. In Linux using AVRDude it takes about 30 seconds. The code is about 750 bytes. I have...
Sun. Dec 26, 2010 - 11:37 PM
Cannot connect to AVR using 128KHz Int. Osc.
Using a ATmega88PA I changed it from the Internal Calibrated RC Oscillator to the 128KHz Internal Oscillator by changing the CKSEL3..0 bits in the LFuse from 62 to 63. Now the...
Fri. Dec 17, 2010 - 02:03 PM

Pages