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

program in C

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
oran



Joined: 04 Sep 2010
Posts: 9

View user's profile Send private message

program in C
PostPosted: Mon Sep 06, 2010 3:06 pm     Reply with quote

Hello,
I have a program to do in C, thanks to two push buttons one increment and one decrement the input of a port in PIN_B0 16F877A and PIN_B1 a variable, then thanks to the "if" manage # duty cycle, the output PIN_C1.
I am not a specialist in programming Exclamation
Can someone help me find the solution Embarassed
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 06, 2010 4:01 pm     Reply with quote

This program shows how to increase or decrease the PWM duty cycle
by pressing the F, R, and S keys on your keyboard. These keys are for
"Forward", "Reverse", and "Stop". This program requires a serial port
connection between your PIC board and your PC, and it requires a
terminal program (such as TeraTerm) to be running on your PC.
http://www.ccsinfo.com/forum/viewtopic.php?t=40467&start=1
oran



Joined: 04 Sep 2010
Posts: 9

View user's profile Send private message

program in c
PostPosted: Thu Sep 09, 2010 4:47 pm     Reply with quote

Hello, and sorry
But I have 2 button on the outside of pic 16F877A which increment and decrement the duty cycle of the chopper, is that someone can modify the program.
help me
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group