Post Created date
Accessing a global variable from different library files/
"minor' mistake in clawsons' response, I would guess that he meant to make the last .c file file2.c. :)
Monday, 9 April 2007 - 18:46
serial problem
"the serial port hangs after using a lot of memory" is fairly meaningless as, if you are using gcc, the mcu U(S)ART has to be programmed with some routine or other, be it one...
Monday, 9 April 2007 - 09:46
sei() problem
P.S. Of course, the sin() function 'll only be a delay if optimisation isn't on, if it is you are left with the for() loop.
Friday, 6 April 2007 - 23:18
sei() problem
I realise that sin is being used as a delay but why on earth would you want to use it when there are perfectly good routines available to give a delay of a given period? And then...
Friday, 6 April 2007 - 22:56
sei() problem
The point of this programme escapes me and probably escapes the compiler too!!
Friday, 6 April 2007 - 07:14
undeclared errors of declared macros
The register names are likely to change between different AVRs which can be seen as either good or bad (good would be that it forces you to read the manual, bad would be that it...
Tuesday, 3 April 2007 - 08:32
GCC memory-mapped paradigms
As has been said, C provides shortcut notations where a particular variable appears on both sides of a (simple) equation. The notation is to concatinate the operator used on the...
Thursday, 29 March 2007 - 07:14
AVR and Lascar sp5 gfx1 LCD
Unofficial developers pages at
Wednesday, 28 March 2007 - 21:00
A newbie needs help
I've only had a quick glance but... Apart from others' comments - you can't compare register contents with a string it must be a numeric or char value, e.g. if (UDR1 = "~") should...
Tuesday, 27 March 2007 - 17:19
A newbie needs help
The << is a c++ output operation on a stream. Is the OP wanting to use c or c++?
Tuesday, 27 March 2007 - 17:13
AVR and phone line!! any ideas???
If you aim to coonnect a device you've built to the phone network be sure to check the regulatory/legal situation in your country.
Monday, 26 March 2007 - 07:52
Simultaneously scan keypad and RS232
I agree with clawson, why would you want the hassle of learning an rtos and pay a few K of code space to do this?? Regarding your previous comment about keeping ISRs small......
Sunday, 25 March 2007 - 21:55