Help on UART clawson wrote:
If I plug 4000000 and 9600 into your equation it looks like:
((4000000+9600*8 )/(9600*16))-1
Now I'm not sure what the order of precendence of the operators will be...
Thursday, 7 August 2008 - 08:02
Programming a Target Wirelessly miamicanes wrote:I'm 99% sure that won't work, because AVRDude works by directly reading and manipulating pins BESIDES Rxd & Txd (RTS/CTS, probably others) in realtime....
Sunday, 27 July 2008 - 13:35
3x3 keypad There is another problem, 2 AVR outputs become connected together if 2 buttons in the same column are pressed, if one is low and the other high this may destroy the AVR.
You...
Sunday, 27 July 2008 - 10:45
USB Driver. They are many software USB implementations avaiable, for example AVR-USB.
Thursday, 24 July 2008 - 23:31
PCINT misunderstanding sunnshol wrote:DDRA = 0b00001111; // keypad
PORTA = 0xFF; //set pullup resistors
PCMSK0 = 0b11111111; // any pin on port a
PCICR |= (1 << PCIE0); // enable all 8 interrupts...
SPI working in assembly code but not in C code for Atmega48 TimothyBaldwin wrote:You should read SPDR before you write to it. There is no need to check for a write collision in that ISR, it can't happen.
Sorry, I was thinking of Master...
Sunday, 13 July 2008 - 21:15
SPI working in assembly code but not in C code for Atmega48 You should read SPDR before you write to it. There is no need to check for a write collision in that ISR, it can't happen.
Also don't meddle with SREG - that's the compliers job.
Friday, 11 July 2008 - 18:02
What is the difference between header and source file? Jepael wrote:Some rules of thumb include that:
a .H file should never ever use a single bit of code or data memory, so it must not have function implementations or variable...
Tuesday, 1 July 2008 - 22:22
Detecting switch from mains to battery power RC wrote:The emitter is connected directly to the AVR input pin. When my S1 is off there is no power to the voltage regulator and AVR and there is no voltage at the transistor's...
Saturday, 28 June 2008 - 18:02
RF Section Verification Those 100ohm inductors don't make any sense, the units should be henries (H), not ohms (Ω).
clawson wrote: If I plug 4000000 and 9600 into your equation it looks like: ((4000000+9600*8 )/(9600*16))-1 Now I'm not sure what the order of precendence of the operators will be...
miamicanes wrote:I'm 99% sure that won't work, because AVRDude works by directly reading and manipulating pins BESIDES Rxd & Txd (RTS/CTS, probably others) in realtime....
There is another problem, 2 AVR outputs become connected together if 2 buttons in the same column are pressed, if one is low and the other high this may destroy the AVR. You...
They are many software USB implementations avaiable, for example AVR-USB.
sunnshol wrote:DDRA = 0b00001111; // keypad PORTA = 0xFF; //set pullup resistors PCMSK0 = 0b11111111; // any pin on port a PCICR |= (1 << PCIE0); // enable all 8 interrupts...
Write your thread switching routine in assembler.
And you are not compiling with optimization enabled.
TimothyBaldwin wrote:You should read SPDR before you write to it. There is no need to check for a write collision in that ISR, it can't happen. Sorry, I was thinking of Master...
You should read SPDR before you write to it. There is no need to check for a write collision in that ISR, it can't happen. Also don't meddle with SREG - that's the compliers job.
Jepael wrote:Some rules of thumb include that: a .H file should never ever use a single bit of code or data memory, so it must not have function implementations or variable...
RC wrote:The emitter is connected directly to the AVR input pin. When my S1 is off there is no power to the voltage regulator and AVR and there is no voltage at the transistor's...
Those 100ohm inductors don't make any sense, the units should be henries (H), not ohms (Ω).
Pages