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... |
Tuesday, 26 February 2013 - 13:48 |
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... |
Thursday, 28 June 2012 - 12:57 |
[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... |
Tuesday, 8 November 2011 - 21:35 |
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... |
Friday, 12 August 2011 - 10:24 |
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... |
Monday, 30 May 2011 - 09:35 |
[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... |
Sunday, 16 January 2011 - 18:48 |
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(... |
Monday, 10 January 2011 - 13:33 |
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 ) {... |
Wednesday, 7 July 2010 - 08:32 |
[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... |
Sunday, 21 March 2010 - 20:55 |
[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... |
Sunday, 21 March 2010 - 18:51 |
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... |
Tuesday, 27 October 2009 - 17:30 |
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... |
Wednesday, 11 February 2009 - 09:08 |