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...
Monday, 14 October 2013 - 22:05
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...
Monday, 3 September 2012 - 20:11
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...
Tuesday, 28 August 2012 - 16:35
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,...
Tuesday, 21 August 2012 - 15:24
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...
Wednesday, 8 August 2012 - 20:21
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...
Sunday, 4 March 2012 - 05:36
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...
Friday, 24 February 2012 - 00:39
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...
Thursday, 15 December 2011 - 17:03
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 =...
Sunday, 6 February 2011 - 05:33
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...
Saturday, 8 January 2011 - 00:21
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...
Sunday, 26 December 2010 - 23:37
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...
Friday, 17 December 2010 - 14:03

Pages