CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: PWM as an input to another digital input pin
Amend

Replies: 5
Views: 15857

PostForum: General CCS C Discussion   Posted: Wed Mar 10, 2021 10:30 am   Subject: PWM as an input to another digital input pin
His PWM maths is right. As Alan points out, it It is just that he is sampling
the input signal only once every 300mSec. Result very slow actual update...

The figure you were looking at was for an ...
  Topic: PWM as an input to another digital input pin
Amend

Replies: 5
Views: 15857

PostForum: General CCS C Discussion   Posted: Wed Mar 10, 2021 10:29 am   Subject: PWM as an input to another digital input pin
Well 1st glaring problem are the 2 delay_ms(300), which will result in a freq of approx 1.6Hz if you just toggle the 2 pins.

Thank you Alan, you were right, the delay was causing problems. By remov ...
  Topic: PWM as an input to another digital input pin
Amend

Replies: 5
Views: 15857

PostForum: General CCS C Discussion   Posted: Mon Mar 08, 2021 8:47 pm   Subject: PWM as an input to another digital input pin
Hi,
I'm trying to set the PWM signal generated by the CCP1 pin in the PIC16F887 as an input to the PIN_A4, in order to then use it as an output of different pins of ports B and D.
I'm using CCS Com ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group