Analog inputs on K42 chip
Before dealing with the registers directly, does anyone know what is the sequence, if any, on the analog inputs of the above chip? I mean, after RA0-RA7 that corrssponds to Analog 0 to Analog 7, the...
View ArticleErratic LED blinking
On the uploaded YT video one can see that the LED is not blinking stable as it should. Can anyone spot what is wrong with the code please? That LED is driven from the in2 output port and while the...
View ArticleRevert a port from PWM to Digital I/O
If id does matter, chip is 47K42. After setting the registers for a PWM output and selecting, for example, RC5PPS=%%00001001, the PWM signal indeed does appear on the output port. What about reverting...
View Articlechanging from 16f876 to 18f252 file to modify
I'm changing chips and there is a config file or some file to modify I can't remember what it is or where it is
View Articleprogram correction
Hello, Please someone help me correct the program. I am new to PICBASIC, I found this program on a forum and I can't compile it because there are errors. This program motivated me to continue learning...
View ArticlePIC16F18855, ASM error when using NAP
Greetings to all... I´ve searched the forum and havent't found info about this problem and can not figure what i'm doing wrong: I need to use NAP from 2 to 8 seconds, just for low power mode in a small...
View ArticleHwpw
Im running a few chips 16f876a at 20 mhz, 18f26k22 10mhz with 4x speed so 40mhz Even using timer 1 and timer 2 with two different ports, portc1 and portc2 you can not get two different PW is this...
View Article