Changed it thanks. Hopefully it's right now.
Anyoe know how I program it so the mclr input only works as an input pin and not mclr?
still stuck on the ds too
Code:CCP1CON = %00000000 ; Disable CCP Module SSPCON.5 = 0 ; Disable SSP Module TXSTB.5 = 0 ; Disable AUSART Tx RCSTB.2 = 0 ; Disable Serial Port CMCON = %00000111 ; Turn off comparator TRISA = %00111111 TRISB = %00000000 ANSEL = %00000000 ; Set analog ports to digital mode ADCON1 = %00000111
Bookmarks