- and nope you're not using PBP, it's PDS proton
- this device have no PORTa
This device have some multiplexed stuff on almost all pin which have to be disabled first (ADCs and analog comparator)
- you have to set the configuration fuses somewhere in your code. if my memory serves me well, PicKit 1 don't allow to change them on the fly.
now try
Code:
Device = 12F675
' Device programming mode and hardware definition
' ===============================================
' Using Internal Clock, no clock out
' Disable Watch dog timer
' Disable MCLR pin
' Enable Power-up timer
' Enable Brown-out detect
'
Config INTRC_OSC_NOCLKOUT,_
WDT_OFF,_
MCLRE_OFF,_
PWRTE_ON,_
BODEN_ON
'
'
TRISIO = 0
CMCON=7 ' Disable analog comparator
ANSEL=0 ' Disable analog converter
Start:
High GPIO.5
High GPIO.4
DelayMS 500
Low GPIO.4
Low GPIO.5
DelayMS 500
GoTo Start
The right forum for you will be
www.picbasic.org/forum
Bookmarks