Post Created date
Volatile not working as anticipated
so return n++ means return n n = n + 1 ..subject to the mental mindjump of the increment happening after the function has returned?
Thursday, 30 June 2011 - 18:52
Volatile not working as anticipated
Quote:int use_static(void) { static int n = 5; return n++; } "return" has higher precedence than "++"? I never knew that. So much to learn...
Thursday, 30 June 2011 - 17:14
Need small controller consisting of 3 external interrupts
Do you really need 3 interrupts, or just three inputs that you can poll very quickly?
Wednesday, 22 June 2011 - 15:53
problem in c programme
Bristol - where's that to then, my luvver?
Monday, 20 June 2011 - 20:07
problem in c programme
i++; if (i==15.625) ... ...what situation are you expecting such that an incremented integer variable (i = 1, 2, 3, etc) becomes equal to 15.625?
Sunday, 19 June 2011 - 15:56
Help with capacitors values
How much is it in error? Maybe you have a software problem also - how does the software work. Maybe you have an error in setting the timer - are you using the timer?
Sunday, 19 June 2011 - 09:15
recognize 10 color.....
When I went to school, colours other than R G or B could be made by mixing together different amounts of each (but in my experiments I always got brown :() So surely your other...
Thursday, 16 June 2011 - 14:32
Do something every 10.000 minutes?
swharden wrote:...waiting for the next time it needs to repeat - every 10 minutes to the millisecond.You really, really mean that - 1 part in 600,000? You can undoubtably count...
Wednesday, 15 June 2011 - 20:21
C-Compiler for megaAVR, recommendation?
bobgardner wrote:Imagecraft does have a code compressor that automatically makes little subroutines out of 3 or 4 instruction sequences. Saves about 10-15%.So does Codevision. I...
Tuesday, 14 June 2011 - 07:08
Atmega 164 C code
I think you need to read some beginners guides to C yourself... if (condition) statement; ...means if the condition is true the statement is performed. ...and from
Sunday, 12 June 2011 - 15:39
After doing this... ...what particular problems are you having?
Thursday, 9 June 2011 - 18:42
ADC input voltage greater than AREF but less than Vcc?
gregsmithcts wrote:If you are expecting it to be higher than AREF, why not set the reference to AVCC?'cos I'm trying to measure the AVR's own supply (indirectly via a potentially...
Monday, 30 May 2011 - 18:11