Type in the full discussion title or a part of it.
Discussion Title Created date
Optimized Loop
Good day I have found a weird optimization. The following code only executes ones: int main(void) { Initialize(); while (1) { if (StatusReg.Done == TRUE...
Wednesday, 10 October 2012 - 13:59
Compiler gives no error for ISR. How to change?
Good day I have spend some hours trying to find my problem in a piece of code. And then only noticed that I spelled the name of the ISR (TWI_vect) wrong. The problem is the...
Friday, 21 September 2012 - 09:06
Atmega8 internal clock and V-USB
I am a bit confused regarding the internal clock of the atmega8. I would just like to confirm that the atmega8 has an internal clock which can be selected to be 16MHz. On the...
Saturday, 10 December 2011 - 21:13
Mathematics: Double vs int32_t
Good day So I have this question. Is it better to use type double or rather int32_t? I know that double is also seen as a 32bit type, but which is processed the fastest? Double,...
Tuesday, 7 September 2010 - 08:59
PWM with Timer2
Good day So I know there is alot of TUTs on PWM but all uses timer1, basically the 16-bit timer with ICR1. What about the other timers that does not have ICR1. I am using an...
Monday, 23 August 2010 - 12:26
Accelerometer
Good day I interfaced an accelerometer with an ATmega324P. I used the LIS3L02AQ5 Accelerometer and then as a buffer for reducing the input resistance a LMV324M op-amp. I inserted...
Saturday, 21 August 2010 - 09:32
strcpy problem
Good day I have a weird problem, the strcpy commands seems to work only once in the program and then not again. The variable declaration is as follow: typedef struct buffer_ {...
Wednesday, 18 August 2010 - 09:51
UART RS232 and Commands
So I don't know if I'm just missing something in this large information center. I have an Atmega324p interfacing the UART with a RS232 port to the computer. I would like to type a...
Monday, 16 August 2010 - 08:49
Entering programming mode.. FAILED! ATMega324p
Hi I have created a pcb with an ATmega324P and a 16MHz external oscillator (MEC-16 16.000H6F) with voltage of 5V. When connected to my JTAGICE mk2 in AVR Studio with win-gcc. I am...
Saturday, 14 August 2010 - 15:51
Servo power problem
Good day I have a mini servo from XIANGYU, the XY-MS-16, its specs: 1) Supply voltage: 4.8~6.0V 2) Speed: 0.12sec/60o (no load running) 3) Torque: 2.2kg. Cm 4) Operating current:...
Thursday, 22 July 2010 - 13:06