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.
Hey. Thanks for answering. The simulator shows 100% duty cycle fine. Worked for several other projects. Also I have tried different duty cycles to no avail.
About how the code looks well I will re-write it in the form that you said and post it here after :D.
Hey,
I'm trying to set up the CCP1CON module of the PIC16f870 microcontroller in PWM mode. I wrote this simple code that's supposed to send a 100% duty cycle on the CCP1CON(RC2) pin. I have attached a dc motor interfaced with a L293D driver to test the duty cycle's value. I have calculated the...
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.