Type in the full discussion title or a part of it.
Discussion Title Created date
Arduino dictionary ?
Where can I get a dictionary of Arduino speech ? E.g. what means shield, sketch and so on. I fear, it's not related to fighting or laughing. And why Arduino use a different speech...
Tue. Feb 26, 2013 - 01:48 PM
ATmega1284: only one timer 16bit ?
The ATmega1284P was the first. Now the new ATmega1284 was available. But it seems, there is a big difference, it lost one timer. :!: On the data sheet, there was a very hidden...
Thu. Jun 28, 2012 - 12:57 PM
[C] [UTIL] Efficient 64 bit support
Sometimes you need more accuracy and thus want to use 64 bit variables. Unfortunately the AVR-GCC implementation was very huge and slow. On the web you can found several code...
Tue. Nov 8, 2011 - 09:35 PM
key states naming convention
I want to define the 4 different key states: 1. the key changes from release to pressed 2. the key was held down 3. the key changes from pressed to released 4. the key was in the...
Fri. Aug 12, 2011 - 10:24 AM
WINAVR - 20100110, critical bugs known ?
Is there a way to see, if critical bugs are present on the actual WINAVR - 20100110 ? - AVR GNU Compiler Collection (GCC) 4.3.3 - avr-libc 1.6.7cvs I meant such bugs, which cause...
Mon. May 30, 2011 - 09:35 AM
[TUT][C] LCD Tutorial 1001
Tutorial for HD44780-LCD and similar. Following an easy, universal and code saving example. 1. There are different ways to control the LCD. You can use the 8bit mode with busy...
Sun. Jan 16, 2011 - 06:48 PM
The reverse volatile pitfall !
I observed, that the volatile pitfall not only exist on reading a variable in main from an interrupt. Also the writing inside main was rejected: #include uint8_t val; ISR(...
Mon. Jan 10, 2011 - 01:33 PM
AVR-GCC: bug or my fault?
AVR-GCC 4.3.3 (WINAVR): #include uint8_t data( void ) { return PINB; } uint32_t wrong( void ) { return (uint32_t)(data() << 8); } uint32_t right( void ) {...
Wed. Jul 7, 2010 - 08:32 AM
[TUT] [C] Smart EEPROM usage
Reading the EEPROM need longer than reading the SRAM. Writing the EEPROM need over 1000 times longer and was also limited in count. Thus I use always the follwing approach: I...
Sun. Mar 21, 2010 - 08:55 PM
[TUT] [C] Easy bit fiddling
We all know, how a port pin can be cleared: PORTB &= ~(1<<PB3); But then it can happen, that we make mistakes, e.g.: PORTB &= ~1<<PB3; // forget...
Sun. Mar 21, 2010 - 06:51 PM
Quiz of the week: limit a value
A very common task was to adjust a value with an encoder: uint16_t adjust( uint16_t val, int8_t delta ) { return val + delta; } The encoder gives the changing step (-128...
Tue. Oct 27, 2009 - 05:30 PM
Strange disoptimization on AVR-GCC 4.3.0
I tried this code: #include #define TIME 0x0100 ISR( INT0_vect ) { int16_t x = TCNT1; x -= TIME / 2; if( x...
Wed. Feb 11, 2009 - 09:08 AM

Pages