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.
Adding the ANSEL seemed to work.
Thanks
CM1CON0.C1ON = 0x00; // disable comparitor
CM2CON0.C2ON = 0x00; // disable the other comparator
ANSEL = 0x00; // Set as Digital
ANSELH = 0x00; // Set as Digital
TRISC =...
Would you believe I took the ANSEL off because I was not using PORTA, and yes, I just read that PORTC does have an analog function.
As for setting the fuses, I am using MIKROC and setting the fuses is made very simple. The PWM on RC3 was just a test. I could not figure out why I could not...
I am coding a PWM to a H-Bridge using a shift register. The code to the shift register works but when I look at my PWM, it appears that a logic gate is pulling down the signal on PORTC.RC3. I remove the wire from PORTC.RC3 to a logic gate, the clock signal is fine. Place the wire on the logic...
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.