Atmega32u4 Interrupt Ok now that's a trick i didn't realize there was a INT6 PIN (PE6). The below code has the update to make the ISR work properly. However im working on the sleep mode now. Is that...
Monday, 19 March 2012 - 09:47
Atmega32u4 Interrupt I want to use INT6 so i can wake up the CPU after sleep. I thought PCINT6 was INT6? I made the above program to test it so & LED changes when the Input pin changes.
I just...
Monday, 19 March 2012 - 08:05
ATmega32U4-AU Plons wrote:Quote:2. Have Vref & VBUS pin connected to VCC. Vref ?? You must be kidding.
All Vcc-pins as well as AVcc should be powered. All Gnd-pins should be connected to...
Tuesday, 6 March 2012 - 07:18
ATmega32U4-AU Hi James
Sorry i didn't get your message in time, im not on here much.
Update you must supply power to AVCC as well.
This erases the bootloader forever & Atmel don't supply...
Monday, 5 March 2012 - 12:26
Mega168 to AT25DF161 Ok Cool. So you are sending a 24bit address divided up & sent out over 3 8bytes. I guess the AT25DF joins it all back together again.
Yes i do need to read it from the start...
Saturday, 11 February 2012 - 13:18
Register to pin At this point speed isnt an issue.
I just want to read a value & send it to a pin NO ADC.
I need something like a bit shift.
Read bit 0, if bit is 0, pin is 0volts (low)
Read...
Saturday, 18 June 2011 - 11:23
Register to pin Ok so would this below.
if (a & 0x01) //bit 0
{
PORTB |=(1<<PB1);
}
else
{
PORTB &= ~(1<<PB1);
}
Take a value stored in the memory say 0b10110101 & output it...
Saturday, 18 June 2011 - 10:47
ATmega32U4-AU *Solved*
Ok after a whole day i found out you have to ground PE2(_HWB). Then it will skip the bootloader (USB programming function). JTAG now works & reads correct device but...
Wednesday, 1 June 2011 - 03:36
ATmega32U4-AU Yes both of those conditions are good. I read that you have to erase the bootloader in the chip before you can use the ISP. Is this correct & how do you do it?
Tuesday, 31 May 2011 - 22:23
16bit ICP times two I will only have two ISRs/inputs. How would you setup two capture pins & feed it into the 16bit timer? Do you have a code example?
Friday, 20 May 2011 - 02:02
16bit ICP times two Its to read a servo pulse so i think its needs to be quite high as the duty doesn't change much. The output is almost a copy of the input pulse but at a higher frequency.
Would it...
Friday, 20 May 2011 - 00:02
ICP to PWM Yes thats right. 1146 to 1782us. It will go to 1077us with the stick at minimum but its unlikely the motor would spin in the 1077 to 1146 range. I was going to do.
if (x
Ok now that's a trick i didn't realize there was a INT6 PIN (PE6). The below code has the update to make the ISR work properly. However im working on the sleep mode now. Is that...
I want to use INT6 so i can wake up the CPU after sleep. I thought PCINT6 was INT6? I made the above program to test it so & LED changes when the Input pin changes. I just...
Plons wrote:Quote:2. Have Vref & VBUS pin connected to VCC. Vref ?? You must be kidding. All Vcc-pins as well as AVcc should be powered. All Gnd-pins should be connected to...
Hi James Sorry i didn't get your message in time, im not on here much. Update you must supply power to AVCC as well. This erases the bootloader forever & Atmel don't supply...
Ok Cool. So you are sending a 24bit address divided up & sent out over 3 8bytes. I guess the AT25DF joins it all back together again. Yes i do need to read it from the start...
At this point speed isnt an issue. I just want to read a value & send it to a pin NO ADC. I need something like a bit shift. Read bit 0, if bit is 0, pin is 0volts (low) Read...
Ok so would this below. if (a & 0x01) //bit 0 { PORTB |=(1<<PB1); } else { PORTB &= ~(1<<PB1); } Take a value stored in the memory say 0b10110101 & output it...
*Solved* Ok after a whole day i found out you have to ground PE2(_HWB). Then it will skip the bootloader (USB programming function). JTAG now works & reads correct device but...
Yes both of those conditions are good. I read that you have to erase the bootloader in the chip before you can use the ISP. Is this correct & how do you do it?
I will only have two ISRs/inputs. How would you setup two capture pins & feed it into the 16bit timer? Do you have a code example?
Its to read a servo pulse so i think its needs to be quite high as the duty doesn't change much. The output is almost a copy of the input pulse but at a higher frequency. Would it...
Yes thats right. 1146 to 1782us. It will go to 1077us with the stick at minimum but its unlikely the motor would spin in the 1077 to 1146 range. I was going to do. if (x
Pages