Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4746

Can't blink a led wih 16F1519

$
0
0
The code is as follows:

Code:

include "modedefs.bas"
OSCCON = %01111010  'SET INTOSC TO 16MHZ
TRISC=%0000000 'set PORTC as output all
DEFINE OSC 16
SACKISI:
HIGH PORTC.6
PAUSE 500
LOW PORTC.6
PAUSE 500
GOTO SACKISI

But it does not work. I'm missing something?

Viewing all articles
Browse latest Browse all 4746

Trending Articles