Type in the full discussion title or a part of it.
Discussion Title Created date
Safe buffer overflows
I have a uint8_t type variable that increases every once a while, and it continues to be updated indefinitely. When reaching an overflow I'd like the variable to wrap around and...
Friday, 16 November 2012 - 22:00
PWM dutycycle update frequency
These are probably some stupid questions, but I want to clear them up, since they cause some confusion. I have implemented 4 PWM outputs by using two 8-bit timers on an atmega328p...
Thursday, 4 October 2012 - 17:44
Driving 4 LED channels with parallel PWM
Greetings. I'm not quite sure where to put this because it's more related to C programming than AVR, so I'll ask here. I've been trying to create something to drive four different...
Saturday, 5 May 2012 - 20:06
AT-mini board from mikroElektronika
Hey, I have this dev board called AT-mini from mikroElektronika. It's basically very similar to Arduino Nano (has a ATmega328 MCU), and comes with a USB mini socket. The manual...
Monday, 9 January 2012 - 09:36
I need some entropy.
Hey! I am working on a project with an ATmega328p mcu. Right now I need a way to generate some random numbers. Basically I am happy with whatever pseudorandom stuff rand() outputs...
Sunday, 25 December 2011 - 20:53
PROGMEM Help - arrays, pointers and size
Well I got stuck again. I am trying to embed a large amount of data into my ATmega328p. The problem is that we have very limited RAM here, so I found this nifty little thing...
Tuesday, 20 December 2011 - 20:00
Tracking delta time in ATmega328p
Hey, I have a quick question. Is there a way to track time elapsed between two function calls (preferably without using any timers)? I.e. I call function A(x) at some point. Then...
Monday, 19 December 2011 - 11:43
ATmega328p not responding
Okay, my first time posting here on avr freaks. I'm rather new to microcontrollers, but at the same time I'm fascinated by them so I decided I'd give the AVR's a go. I have an...
Saturday, 17 December 2011 - 16:52