Post Created date
PWM Code Problem
Thank you bob, it is good to know that I can ask intellegent questions. Clawson, thank you for the trouble you are going through. As for that book, I would like to get a good C...
Thursday, 22 May 2008 - 17:08
PWM Code Problem
O ok, makes a bit of sense. So an "unsigned int count" could have also been used inside the ISR or a "volatile unsigned int count" as aglobal var? But then it would be accesable...
Thursday, 22 May 2008 - 15:01
PWM Code Problem
Thank you clawson. That works and I know now what I did wrong. Thank you. Just a questions. In your code you use static uint8_t count; . I've seen this many times, what does...
Thursday, 22 May 2008 - 14:44
PWM Code Problem
ISR (TIMER2_OVF_vect) { OCR2 -= 0x10; } I've changed my ISR to OVF, and not COMP.Now I get a duty cycle of approx 34%. Why doesn't OCR2 change during the interrupt?
Thursday, 22 May 2008 - 14:04
PWM Code Problem
Ok, here is the code I've generated so far. #include #include #include /**************************************************************** PWN Setup...
Thursday, 22 May 2008 - 12:03
Key Pad
good answer
Thursday, 22 May 2008 - 11:05
PWM Code Problem
Please help with any advise.
Thursday, 22 May 2008 - 10:59
PWM Code Problem
I've got the PWM setup right, it is working, but now, I would like to let the OCR2 value be changed in an ISR. What am I doing wrong? ISR(TIMER2_OVF_vect) { OCR2 -= 0x10...
Sunday, 18 May 2008 - 00:47
including files
and if you want to display, lets say a freq that contains a few 0's? I will try that for the text strings. Thank you. const char Freq[] = "freq0"; Is this what you mean?
Saturday, 17 May 2008 - 09:28
including files
Thank you my AVR freak friend. It works very well. I'm just not sure about your last statement, I mean, not so sure how to do it. Quote:Also, C strings always end with a NULL...
Saturday, 17 May 2008 - 09:08
including files
Evening (morning) I am working on some code to write an array to an LCD. Everything seems good, but I get an error and two warnings. Please help me if possible. #include #...
Saturday, 17 May 2008 - 01:01
including files
thank you all
Friday, 16 May 2008 - 20:56

Pages