
Originally Posted by
lerameur
I got the oscillator goimg, Its square wave, I will be adding a couple of caps and resisor to make it more like a sin wave.
Also I needed more memory for my project so I got the monster Pic18F4685. Iuse the same program as for the Pic16F877a and it gives errors about the nbit number, I guess I have to change all the specification of my program. but I am not sure what; here is the message i am getting after compiling:
C:\PBP>pbp -p18F4685 motorG
PICBASIC PRO(TM) Compiler 2.47, (c) 1998, 2006 microEngineering Labs, Inc.
All Rights Reserved.
PM Assembler 4.08, Copyright (c) 1995, 2006 microEngineering Labs, Inc.
Error 18F4685.INC 14 : [235] Opcode Expected Instead of 'Error: PM does not sup
port this device. Use MPASM.'
Error C:\PBP\MOTORG.ASM 85 : [225] Undefined Symbol 'PORTB'
Error C:\PBP\MOTORG.ASM 86 : [225] Undefined Symbol 'PORTC'
Error C:\PBP\MOTORG.ASM 87 : [225] Undefined Symbol 'TRISB'
Error C:\PBP\MOTORG.ASM 88 : [225] Undefined Symbol 'TRISC'
Error PBPPIC18.LIB 161 : [225] Undefined Symbol 'PORTB'
Error PBPPIC18.LIB 379 : [225] Undefined Symbol 'PORTB'
Error PBPPIC18.LIB 1153 : [200] Instruction Restricted to 14-Bit Core
Error PBPPIC18.LIB 1153 : [218] Address Limit of FFFFh Exceeded
Error PBPPIC18.LIB 1158 : [200] Instruction Restricted to 14-Bit Core
Error PBPPIC18.LIB 1158 : [218] Address Limit of FFFFh Exceeded
Error PBPPIC18.LIB 1281 : [200] Instruction Restricted to 14-Bit Core
Error PBPPIC18.LIB 1281 : [218] Address Limit of FFFFh Exceeded
Error PBPPIC18.LIB 1282 : [200] Instruction Restricted to 14-Bit Core
Error PBPPIC18.LIB 1282 : [218] Address Limit of FFFFh Exceeded
Fatal PBPPIC18.LIB 1282 : [300] Too Many Errors
C:\PBP>
Bookmarks