avinsinanan
New Member
Hello,
I am doing a project that requires me to read a PWM signal generated by an Electronic Compass.
When the PIC16F877 reads the PWM signal from the compass it has to determine how long the PWM signal is Positive for the Duty Cycle.
I need the code in Assembly. I am not lazy or anything and I am willing to work with anyone who wants to help me with this.
The compass by the way is the Devantech CMPS03. And i am trying my best to avoid using the I2C and MSSP. This is why I want to be able to write a routine to read the PWM positive time for the Duty Cycle.
So any ideas on where to begin?
Yours Respectfully
Avin Sinanan
I am doing a project that requires me to read a PWM signal generated by an Electronic Compass.
When the PIC16F877 reads the PWM signal from the compass it has to determine how long the PWM signal is Positive for the Duty Cycle.
I need the code in Assembly. I am not lazy or anything and I am willing to work with anyone who wants to help me with this.
The compass by the way is the Devantech CMPS03. And i am trying my best to avoid using the I2C and MSSP. This is why I want to be able to write a routine to read the PWM positive time for the Duty Cycle.
So any ideas on where to begin?
Yours Respectfully
Avin Sinanan