M mr. mister New Member Apr 21, 2005 #1 i have connected a 4Mhz crystal clock to my PIC16F84A. How do i set this up in the code? i know i am meant to set the bit of a special register high. can anyone help me maybe even give me the code
i have connected a 4Mhz crystal clock to my PIC16F84A. How do i set this up in the code? i know i am meant to set the bit of a special register high. can anyone help me maybe even give me the code
J Jay.slovak Active Member Apr 21, 2005 #4 mr. mister said: u mean #include <P16F84A.inc> ??? Click to expand... Try Code: list p=16F84A #include <p16F84A.inc> __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON &_XT_OSC
mr. mister said: u mean #include <P16F84A.inc> ??? Click to expand... Try Code: list p=16F84A #include <p16F84A.inc> __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON &_XT_OSC