Post Created date
Watch ADCSRA bit 6 (ADSC) or bit 4 (ADIF)?
while ((ADCSRA & 0x40)!=0); is better coding style than: while (ADCSRA & 0x40); and required for example for MISRA-C compliance. It just shows much better what the author...
Thursday, 21 September 2006 - 14:01
IAR question
Omella, do not try to understand that! As far as I know, you have to choose this output format (like 'debug(ubrof)') which 'enables' the linker to generate two output files. Why...
Thursday, 21 September 2006 - 13:36
IAR: include *.asm in C-Code
Not as far as I know. The normal way would be to create a seperate assembler module and tell the linker to link it to your project. In order to get a propper template for such an...
Wednesday, 20 September 2006 - 13:11
LCD 128x64
There are PC code generators like easyGui easygui.com which will provide all the neccessary functions to write to 'dumb' graphics LCDs, black and white, grey scale or colour. They...
Wednesday, 20 September 2006 - 06:29
to #if or to if ()
Steve, that is correct. I missed to mention that you _have_ to define it in some way: //#define _SCD 0 // disable //#define _SCD 1 // enable #define _SCD...
Wednesday, 20 September 2006 - 06:22
to #if or to if ()
I had to answer the same question just a few days ago when trying to modify some old code with lots of defines. As lfmorrison says, it doesn't matter so much if you use a good...
Tuesday, 19 September 2006 - 19:49
IAR question
Omella, it is very easy to do what you want, just follow ali and read the compiler manual....... No, just kidding. I tried it that way, took me hours without results. Two mails to...
Tuesday, 19 September 2006 - 19:24
AVR A/D
Quote: When you select internal vref, it appears on the AVCC pin.. Bob, doesn't it show up on the Aref pin instead? The voltage on AVCC pin is just the supply voltage for the ADC...
Monday, 11 September 2006 - 13:23
Classical circular buffer serial code - not working..??
Is 'meter_add' initialized to some value anywhere? If not, it will have value 0x00. In the sequence you show us, after the 0x00 a 0x02 is received. The comparison with 0x03 will...
Friday, 8 September 2006 - 09:36
BLIPS 2.8 (26 Nov 06) Bootloader - via serial and IP
Quote:Did BLIPS run OK after getting the OCX? I will give that a try this evening. For the moment I tried BLIPS2.1 on a german Win2000 (at work) and it shows the same behaviour...
Monday, 10 July 2006 - 14:13
BLIPS 2.8 (26 Nov 06) Bootloader - via serial and IP
Hi Steve, BLIPS does not run for me on an XP SP2. Shows a runtime error 339, saying something that it misses MSWINSCK.OCX, which I actually do not have on this XP installation (I...
Sunday, 9 July 2006 - 21:58
Switching high current load
Quote:JBecker - it is hard to imagine a RC controller switching 200A in a model car since it would take a car battery to provide that much power for any length of time This...
Tuesday, 4 July 2006 - 08:13

Pages