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 support@ccsinfo.com

NewBird

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



Joined: 15 Jun 2004
Posts: 1
Location: malaysia

View user's profile Send private message

NewBird
PostPosted: Tue Jun 15, 2004 6:55 am     Reply with quote

Actually I just very new in this Pic but i just purchase a PICkit-810 by using the PIC16F84A to make my running light work! By using C language how can i write "Hello World" to make the running led that come come out with the word "Hello World". Is it possible that this PIC16F84a can perform to make the led from OFF "0%" to be lighted to "100%" ON and from "100%" ON to "0%" OFF and repeat this procedure?. Please guide!!!!


from: ANDY
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Jun 15, 2004 7:27 am     Reply with quote

Look in the compiler manual, on this fourm, and in the chip data sheet for "PWM" (pulse width modulation). Many PICs have hardware specifically for this task. If not it can easily be done in software using a simple counter. I am not familliar with your specific chip.

Note the chip datasheet is a very important reference. Get it from the Microchip web site and if possible print it out, though it is large. You should at least be able to print the section on PWM.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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