Hi all!
Below is what i have written so far with regards to setting up the chip and i also want to set the PIC16F690 internal clock to 4Mhz!
BUT now my concern is where does it say that it's the internal clock that has been chosen and where does it say that 4Mhz has been chosen as well???
Do i have to write something else specify "internal clock and 4Mhz"? in other words how does one set the internal clock with a 4 Mhz frequency??
Thanks all for you comments!!!
list p=16F690 ; tell assembler what chip we are using
#include <p16F690.inc> ; include the default for the chip
__CONFIG _CP_OFF & _CPD_OFF & _BOR_OFF & _MCLRE_ON & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT & _FCMEN_OFF & _IESO_OFF
errorlevel -302 ; suppress the bank sel check warnings
; '__CONFIG' directive is used to embed configuration word within .asm file.
; The labels following the directive are located in the respective .inc file.
Below is what i have written so far with regards to setting up the chip and i also want to set the PIC16F690 internal clock to 4Mhz!
BUT now my concern is where does it say that it's the internal clock that has been chosen and where does it say that 4Mhz has been chosen as well???
Do i have to write something else specify "internal clock and 4Mhz"? in other words how does one set the internal clock with a 4 Mhz frequency??
Thanks all for you comments!!!
list p=16F690 ; tell assembler what chip we are using
#include <p16F690.inc> ; include the default for the chip
__CONFIG _CP_OFF & _CPD_OFF & _BOR_OFF & _MCLRE_ON & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT & _FCMEN_OFF & _IESO_OFF
errorlevel -302 ; suppress the bank sel check warnings
; '__CONFIG' directive is used to embed configuration word within .asm file.
; The labels following the directive are located in the respective .inc file.