Target: PIC18F4580
Programmer: PICKIT3
OS: Windows 10 home 64 bit
FlowCode 6.1.2.0 (11.05.2015)
I got the PICKIT3 to work. I solved the Low Voltage Programming problem, I cracked the OSSCON setting requirement.
I tested some code to write 16 consecutive bytes to a 2x16 serial LCD display. Worked fine when I had it all in the "Main" macro.
So, I broke each 'subroutine' into individual macros in preparation to make a component.
Same stuff that I had working all in "main", but now throws a compiler error (error code 1)
Macro names have no spaces. None of these macros take or return any parameters. The only variable is a UINT 'counter'
This seems pretty basic to me, but I'm tired of scouring the internet for hints.
Thanks in advance.
Error:
Code: Select all
LCD_Serial.c(230:2): error: unknown identifier 'FCM_LCD_Init'
LCD_Serial.c(230:2): error: failed to generate expression
LCD_Serial.c success
failure
Completed BoostC compilation, return = 1
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_18F.exe reported error code 1