Type in the full discussion title or a part of it.
Discussion Title Created date
Accessing IO pins by ordinal - a good idea ?
(EDIT: The source code is available in this post.) Let's assume that it is possible to create a scheme that allows a developer to address each IO pin by number, with no code...
Friday, 23 November 2012 - 04:56
Wiring for resistive sensor
I'm using a photocell for one of my hobby projects. The photocell is a simple resistive sensor, i.e. it generates a resistance that depends on light intensity. The sensor is...
Sunday, 14 October 2012 - 21:11
Poor code generation for conditional statements
Another annoyance: 1) f(b ? x : y); 2) if (b) { f(x); } else { f(y); } 1) generates bigger code than 2). b is a bool, x and y are enum values. AS6, avrgcc 4.6.2....
Tuesday, 18 September 2012 - 05:45
Timer/Counter register updated while interrupts disabled ?
When using timers, e.g. the 16-bit Atmega328p Timer1, is the counter/timer register (TCNT1) updated while interrupts are disabled ? I assume it's not updated in this case but I...
Monday, 17 September 2012 - 23:09
Atmel Studio 6 tips, tricks & features
Device programming The [/Debug/Start without debugging] command is a quick way to program your device, instead of going through the numerous keystrokes and mouseclicks needed to...
Wednesday, 12 September 2012 - 01:57
Compile-time constants
Could somebody offer some insight as to why this expression does not evaluate to a compile-time constant ? & (* (volatile uint8_t *) (N + M)); N and M are constants. I'm using...
Saturday, 8 September 2012 - 21:49
RE: Input Capture for vehicle speed
Reduce your code to the smallest representation that reproduces the problem. Then post your question, without any details disclosing your mental problems. Then, if you're lucky,...
Wednesday, 11 July 2012 - 22:25