Post Created date
[TUT] [C] Newbie's Guide to the AVR ADC
Quote:AVCC with external capacitor at AREF pin This is the requirment for AREF to connect to ground... My intend is to coneect a 14pF cap then to ground, am I right?
Wednesday, 12 May 2010 - 15:58
[TUT] [C] Newbie's Guide to AVR Timers
Cheers clawson... I did read the tute and datasheet, but just to comfirm... Sorry if my question are really stupid... I have not done embbeded programming before...
Wednesday, 12 May 2010 - 10:30
[TUT] [C] Newbie's Guide to AVR Timers
Cheers mates! I am using the internal clock (8Mhz) with div8... Using int i=TCNT1, is that 16bit value from the timer? Do I needa to set the timer to 16 bits? I do believe that...
Wednesday, 12 May 2010 - 09:23
[TUT] [C] Newbie's Guide to AVR Timers
JohanEkdahl wrote:Quote: at slower rate Than what? A prescaler set to 1? Yes. A Prescaler set to 16K (if there is such a setting)? No. Seriousl (not trying to be an asshole):...
Wednesday, 12 May 2010 - 08:58
[TUT] [SOFT] Using the USART - Serial communications
I set it to 2400 baud rate... Works fine, cheers!
Tuesday, 11 May 2010 - 14:45
[TUT] [C] Newbie's Guide to AVR Timers
Noted, can I say that a prescaler of 1024 will set the timer to count to 65535 at slower rate?
Tuesday, 11 May 2010 - 14:44
[TUT] [C] Newbie's Guide to AVR Timers
I wanna ask a stupid question, what happens if the timer count till it's max without you restting, does it remain at max?
Tuesday, 11 May 2010 - 14:32
[TUT] [SOFT] Using the USART - Serial communications
Quote:so have you really setup your STK500/AVR to run at 1.8432MHz? Did that include changing CKSEL fuses and clearing the CKDIV8 fuse? Hi clawson. I have mine setup, default...
Tuesday, 11 May 2010 - 14:17
[TUT] [SOFT] Using the USART - Serial communications
This is taken from the Atmega88 datasheet, #define FOSC 1843200 // Clock Speed #define BAUD 9600 #define MYUBRR FOSC/16/BAUD-1 void USART_Init( unsigned int ubrr) {...
Sunday, 9 May 2010 - 07:24
[TUT] Newbie's Guide to AVR Interrupts
Now I need to time the INTO is pushed... Any one can help?
Monday, 3 May 2010 - 08:02
[TUT] Newbie's Guide to AVR Interrupts
Ok, my bad, push the wrong input! Cheers!
Monday, 3 May 2010 - 07:52
[TUT] Newbie's Guide to AVR Interrupts
void SetupInterrupts(void) { sei();//Enable Global Interrupts EIMSK=0x01; EICRA=0x03; } ISR(INT0_vect) { PORTC=0xFE; } I am pretty new to this interrupt...
Monday, 3 May 2010 - 05:22