OK, I commented out several lines to get the compiler to stop choking and added some asm to get this started
'************************************************* ***************
'* 12F683.BAS *
'* *
'* By : Leonard Zerman, Jeff Schmoyer *
'* Notice : Copyright (c) 2004 microEngineering Labs, Inc. *
'* All Rights Reserved *
'* Date : 05/14/04 *
'* Version : 2.45 *
'* Notes : *
'************************************************* ***************
BANK0 $0020, $007F
BANK1 $00A0, $00BF
EEPROM $2100, $21FF
'LIBRARY "PBPPIC14"
'DEFINE CCP1_REG GPIO
'DEFINE CCP1_BIT 2
' include "PIC14EXT.BAS"
'PORTL VAR GPIO
'PORTH VAR GPIO
'TRISL VAR TRISIO
'TRISH VAR TRISIO
' include "PBPPIC14.RAM"
ASM
BANKSEL TRISIO
MOVLW B'01100000' ;4mhz
MOVWF OSCCON
BCF TRISIO,5 ;GP5 output
ENDASM
start:
LOW PORTL.5
PAUSE 500
HIGH PORTL.5
PAUSE 501
goto start
End
'*-----------------------* EOF 12F683.BAS *---------------------*
Bookmarks