PDA

View Full Version : Modifying Code for Compass CMPS03


Jawahar
06-04-04, 12:50 AM
I am using the code from your website for reading Compass CMPS03. The code requires that I connect the PWM signal to TC0 of my IsoPod V2.

However, as the TC0 pin is used up already, the PWM must be connected to TA3 timer pin.

So, what modifications are required in the code to make it read the PWM signal from TA3 pin?

Thanks

nmitech
06-04-04, 11:02 AM
This appnote is explained how to use PWM IN and PWM OUT as well as how to use the Timer Pins as PWM IN/OUT

http://www.newmicros.com/store/product_manual/IOglossary.pdf

Hope this help

Jawahar
06-07-04, 10:49 PM
I figured that now.

Thanks!