So here is the application I'm planning on using a pic to take the speed controller signal from the reciever in an RC car and modify it using the pic so that the output of the PIC will go to the speed controller. The purpose for modification is to scale the input speed commands to either 25%, 50%, 75%, or 100%(unmodified) of the original speed command coming into the pic. I have an understanding of the theory of operation of the RC speed control/servo signals in that the signal consists of a pulses ranging from 1ms to 2ms repeating at 60Hz. 1.0ms to 1.5 is reverse, 1.5 to 2.0ms is forward and 1.5ms is neutral. Here is what I'm thinking about doing. What I am planning to do is use an interupt to detect the rising edge of the incoming signal that will start incrementing a timer. Then another interrupt will be detected on the falling edge of the signal. The counter value will then be scaled and reloaded into a register where the pic will generate the scaled pulse at the output by pulling an output pin high and begin decrementing the counter and then generate an interrupt when the counter overflows and then pull the pin low. Background and Problem I'm a mechanical engineering student and I'm familiar with combinational logic and sequencial logic, however I am new to the PIC and programming with interupts. I've been doing some reading online and in some hobbyist magazines, but what I would like to do is purchase a book on pics that will tell me from the ground up how to develope a circuit using a pic. This would include code examples as well as circuit board suggestions. I understand that there are many pics to choose from some with some that dont have interupts enabled while others do. Requirements for the reference I'm looking for. -I really would like a reference that can tell me how to know which ones to choose. -How to design the circuit around the controller. -I would like to know which pics have hardware timers. I don't want to do the timing in software just to keep it simple. I would prefer the reference to be something that I could purchase on amazon. But if there are some pretty good references online that are an all in one go to source I'm open to that too. What I am trying to avoid is running back and forth between references that use different controllers so there code varies. I really would like to learn by example first and then do my own adaptations. I walked into a Borders the other day looking for such a reference and then I realized that I should get some recommendations first before giving over the dough. Suggestions are greatly appreciated! Happy New Years! -- View this message in context: http://www.nabble.com/Using-PIC-to-modify-RC-speed-controller-signal.-tp21238122p21238122.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist