Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
gang said:hi, newbie here!
i used to work with 16f84a, i swtched to 16f628a because 1k was not enough. Problem is, the 628a pic wouldn't read inputs. What could be the problem?
You only add theese 2 lines in asembly:gang said:thanks for the info!
I used the same circuit for 628. As for the program, i've already included cmcon=7 to turn the comparators off, what is the other line? by the way, I use mikrobasic. Also, what command should i write to set a internal oscillator of 4 MHz?
MOVLW 7d
MOVWF CMCON
INTOSC is a type of oscilator used it's set in CONFIGURATION WORD, which is available durring programming, in this case "Internal Oscilator with RA6&RA7 as IO pins". I can't help you with mikrobasic.gang said:what does INTOSC mean? i program with mikrobasic..