Discussion Title | Created date |
---|---|
Analog Comparator on ATmega8 If I set bit ACBG : ANAlog Comparator Bandgap Select bit (When this bit is set, a fixed bandgap reference voltage replaces the positive input to the Analog Comparator. When this... |
Saturday, 9 April 2005 - 10:17 |
Need C code to split number in separate digits ? Hi, I need routine to split number into 3 digits. For example char a = 123 split to char b=1, char c=2, char d=3. It is for 7 segment 3 digit LED display connected to ATMega8. |
Monday, 24 January 2005 - 18:48 |
Changing WDT prescaler bits When I change WDT prescaler bits in init routine ( after device reset), should I follow that special routine ? ICC AVR for watchdog initialization generates simple code: //... |
Sunday, 27 June 2004 - 08:04 |
ATMEGA8 USART transmits garbage after power-save Even if after sleep I make couple seconds pause ( for internal 1MHz clock stabilisation ?), I get garbage. Without sleep instruction in code, everything OK. |
Tuesday, 22 June 2004 - 18:13 |
Help - ATMEGA8 power-save mode //TIMER2 initialize - prescale:8 // WGM: Normal // desired value: 40mSec // actual value: 39,795mSec (0,5%) void timer2_init(void) { TCCR2 = 0x00; //stop ASSR = 0x08; //... |
Sunday, 20 June 2004 - 05:37 |
C programming - how to split int(16 bits) to 2 char(8bit) I have unsigned int(16 bits) variable and 2 char(8 bit) variables. Char1 is byte1 of int variable and char2 is byte2 of int variable. How can I split int to 2 chars, and vice... |
Sunday, 13 June 2004 - 14:47 |
ATMega8 (not ATMega8L ) @ 3 V. Will it work ? My supplier dont have ATMega8L in stock. What about using ATMega8 ? No EEPROM reading/ writing, ADC,..... Just scaning keypad and data logging to external I2C EEPROM. |
Tuesday, 8 June 2004 - 15:33 |
Need low power (and price) RS232 for ATMega8L @ 3V battery Battery powered device (ATMega8L @ 3V ) must communicate with PC. RS232 interface should consume no power when inactive. Also it should be cheep and with minimum components.... |
Tuesday, 8 June 2004 - 15:26 |