> If you do this, make sure the peripherals are the same variety for > your dsPIC30F4011 as they're talking about in the book. There are > several varieties of ADC and PWM now. Agreed, Check the data sheet and read the appropriate sections of the famil= y reference manual - you can download those from the microchip page for the= chip you have. =20 > Xavier, basically you will need to read the data sheet sections that > describe the peripherals you want to use, and set the bits for all of > the setup registers. Simulate your code step-by-step in MPLAB and you > can somewhat see if it is working or not before you try to run real > hardware. Don't be afraid to spend a few days reading documentation. > It will help you very much. Many of the datasheets now do not have a lot of information other than bare= bones data. Much of it has been hived off to the family Reference manual, = which is where the detailed descriptions of the peripherals is given. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .