Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi @baileychic ,
Thanks a lot. Just last question. If I want to control both LED what should I do? I have tried by changing your code to-
TRISA.RA0 = 0x00;
TRISA.RA1 = 0x00;
But that didn't worked, I guess it is not the right way. If you know how to do with both LED at the same time please let...
Hi,
/I am using MikroC.
/Crystal Frequency is 16 Mhz.
/LED is connected on RA0 nd RA1, PWM is connected on RC6.
/I actually want the LED brightness to be controled automatically as sine wave.
Thanks,
Anim
Hi everyone,
I am using a PIC Clicker which contains PIC18F47J53 on-board. It will be very helpful if someone can provide me a sample C code to control LED brightness using PWM. I have went through the datasheet but I am unable to figure out the syntax as I am a newbie.
Thanks in advance.
Anim.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.