Post Created date
ICP to PWM
Update: Ill have a look at the above suggestions you responded before i could. Well if im understanding correctly what you are talking about. Now the range will quickly reach max...
Tuesday, 10 May 2011 - 11:43
ICP to PWM
Ok after 3weeks of my life i came up with this. It works but unfortunately the input range isn't from 1000 to 2000. Its 1146.8us to 1782.6us (On time). These upper & lower...
Tuesday, 10 May 2011 - 05:49
ICP to PWM
Looks like im going to have to shit can this one its too difficult.
Tuesday, 3 May 2011 - 12:32
ICP to PWM
Ok found it thanks, i didn't think to try Google. Still if i apply the cli to sei below it still doesn't work (output pin will stay high at some point in time). int main(void...
Tuesday, 3 May 2011 - 03:06
ICP to PWM
Quote: I'm confused about the big picture here. Input is an RC servo pulse (1-2ms pulse every 20ms). You want the output to be pwm speed control drive to a mosfet gate driver (0-...
Monday, 2 May 2011 - 22:52
ICP to PWM
Ok i did this but after a few sets of pulses to check the high low behavior (signal no signal) it stays locked high no matter what input condition. Is the the atomicity problem? I...
Monday, 2 May 2011 - 22:07
ICP to PWM
Quote: Not quite right. Work it out on paper as using unsigned integers (as you are) a wrap around still works out correctly. By removing this line, the timer ticks over happily...
Monday, 2 May 2011 - 08:19
16Bit SPI
Ah so its a send one bit & receive one bit transfer & could be stopped at any bit if desired. I thought there would be a request & you would get the lot lol. Ok ill...
Tuesday, 21 December 2010 - 22:31
16Bit SPI
[If the AVR is the SPI master then there is no problem at all since the AVR is supplying the clock to shift out the data! In other words the slave (ADC) must run at the AVR's...
Tuesday, 21 December 2010 - 22:10
16Bit SPI
Oh yes the SPI is on a different pinout. I just imagined they used the Usart pins. Silly me haha. Thanks David. To Receive 16bits in a hi lo configuration isn't a problem but the...
Tuesday, 21 December 2010 - 21:41

Pages