I don't understand why it shouldn't work unless you have an hardware problem OR a bad configuration fuse setting.....
what happen with that one???
Code:
@ __CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
'
' or use the one bellow if you use PM assembler
' @ device pic16F628A, intrc_osc, wdt_on, mclr_on, lvp_off, protect_off
PORTB = 0
PORTA = 0
TRISB = 0
TRISA = 0
CMCON = 7
START:
PORTA = 255
PORTB = 255
PAUSE 200
PORTA = 0
PORTB = 0
PAUSE 200
GOTO START
but yeah... pure assumption, no schematic available, and i need more cofee
Bookmarks