Post Created date
ERROR ..pls do help
The headers are from gcc in which case replace void TIMER1_CAPT1_vect(void) void interrupt [TIMER1_CAPT1_vect]ISR_ICP1(void) with ISR(TIMER1_CAPT1_vect) { } Alex
Saturday, 9 February 2013 - 07:50
timer overflow interrupt
PORTD &= ~(PD5); PD5 is defined as 5 (0b00000101) ~(PD5) results to 0b11111010 So what you wrote is actually PORTD = PORTD & 0b11111010; This code will clear bits 0 and 2...
Friday, 8 February 2013 - 16:25
Interrupt does not fire on correct address
Do you get the same problem with a minimal code, just the port and interrupt initialization and the interrupt handler? Alex
Friday, 8 February 2013 - 15:04
Interrupt does not fire on correct address
clawson wrote: better yet, handlers for all the vectors These are the handlers for all vectors (I used the numbers because it was faster), can you add them and see if that...
Friday, 8 February 2013 - 14:10
AVR studio 6 brought me in trouble
JohanEkdahl wrote: If you post code that does not even build (that is how I interpreted one of alexan_e's remarks above) The problem I mentioned was noticed when I tried to port...
Friday, 8 February 2013 - 11:52
AVR studio 6 brought me in trouble
jyotendra wrote: My question is about optimization. I read about it here http://maxembedded.wordpress.com/2012/06/27/code-optimization/ I don't know if the problem is with my code...
Friday, 8 February 2013 - 10:10
AVR studio 6 brought me in trouble
This is your codevision code after modifying the includes, ISR handler, delay, and sei() to make it compile in gcc. #define F_CPU 4000000UL // or whatever may be frequency #...
Friday, 8 February 2013 - 08:40
5 - 40VdcIn to 5vdc/ ~1A peak out, low parts count switcher?
jgmdesign wrote:Not much info was available at that point. I didn't mean to be a smart-ass, I'm sorry if it sounded like that. alexan_e wrote:You can't connect any power supply to...
Thursday, 7 February 2013 - 21:38
AVR C programming
theusch wrote:Quote: The eeprom routines can be found ... ... >>if<< you are using the infinite-value toolchain. If this was to point that users should always include info...
Thursday, 7 February 2013 - 20:29
AVR studio 6 brought me in trouble
I downloaded the code out of curiosity. What impressed me was the call of main from the interrupt :shock: ISR(INT0_vect) { int e; //a local variable defined e =...
Thursday, 7 February 2013 - 18:36
AVR C programming
The eeprom routines can be found http://www.nongnu.org/avr-libc/u... In you need an eeprom tutorial try http://deans-avr-tutorials.googl... Basically the line you have presented...
Thursday, 7 February 2013 - 17:52
5 - 40VdcIn to 5vdc/ ~1A peak out, low parts count switcher?
Do you need a smart circuit? A simple mechanic switch (DPDT) should do the job, the user can select the source. Alex
Thursday, 7 February 2013 - 17:04

Pages