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
Posted: Tue Jun 15, 2004 7:27 am
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.
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