Hi, I am beginning to program pic with pickit 2; I use micro code studio as compiler, (pbp). I have a problem with pic 18f4620.
I make this simple program, lampled, but the flashing of the led does not correspond with the program( 1 second on, 1 second off), synchronism lacks.
This is the program:
'************************************************* ***************
'* Name : UNTITLED.BAS *
'* Author : [select VIEW...EDITOR OPTIONS] *
'* Notice : Copyright (c) 2009 [select VIEW...EDITOR OPTIONS] *
'* : All Rights Reserved *
'* Date : 27/04/2009 *
'* Version : 1.0 *
'* Notes : *
'* : *
'************************************************* ***************
DEFINE OSC
TRISB = %00000000
PORTB = 0
START:
PORTB.1 = 1
PAUSE 1000
PORTB.1 = 0
PAUSE 1000
GOTO START
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
The problem is the configuration fuses?
Tank's Davide.
Bookmarks