Hi there,
Run into more problems now lol. With 'use mpasm' unticked, I can no longer use mplab ide to build/upload the file to the pic. It gives a stream of errors.
However, if I tick the 'use mpasm' again, I get errors in picbasic pro:
Warning[207] e:\.......\sertest.asm 93 : Found label after column 1. (device)
Error[122] e:\.......\sertest.asm 93 : Illegal opcode (pic12F683)
for code:
#####################################
@ device pic12F683, xt_osc, wdt_on, mclr_on, protect_off
DEFINE OSC 4
Include "modedefs.bas"
OSCCON = %00001000
ANSEL=0
CMCON0=%00000111
pw var byte
led var gpio.4
OSCCON=%01110000
oldpwm var byte
#########################################
etc...
I think I basically don't understand how these applications work together creating multiple files that are all linked together... I come from the old school - one program and run!![]()
Bookmarks