Problems with LCD

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Jan Middel
Posts: 7
Joined: Sun Nov 18, 2007 11:23 am
Contact:

Problems with LCD

Post by Jan Middel »

Hello,

I have problems with mij LCD routines
When i make a digital clock it works wen im simulate it on my Pc
When i putt it in my pic 16f88 then i get this error :
----------------------------------------------
Warning unreferenced functions removed:
FCD_LCDDisplay0_Start in: D:\Jan_Elektronica\flowchart_routines\Tuinverlichting_versie3_flowcode_oude_versie.c
FCD_LCDDisplay0_PrintString in: D:\Jan_Elektronica\flowchart_routines\Tuinverlichting_versie3_flowcode_oude_versie.c

Warning: function never returns: 'FCM_Hoofdlus'
Building CASM file

Memory Usage Report
===================
RAM available:368 bytes, used:25 bytes (6.8%), free:343 bytes (93.2%),
Heap size:343 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:543 words (13.3%), free:3553 words (86.7%)


Successful

Return code = 0

Launching the programmer...

Sending program...
Erasing the PICmicro
Writing program memory
Writing configuration memory
Writing id-locations
Reading program memory
Reading configuration memory
Finished reading PICmicro contents
Program sent and verified OK

543 out of 4096 program words used
0 out of 256 data bytes used
That took 1,36 seconds

Return code = 0

FINISHED

---------------------------------------------------
Can anybady tell my woth the problem is
If reinstald de sofware but it works not.

Groeten Jan Middel

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

The messages say that compilation was successful.

However, it looks like you have not initialised the LCD using the "Start" macro. You need to do this before using any of the other LCD functions.

Note that when simulating, you do not need to call this "Start" macro. But you must use it when running on the microcontroller itself.

Post Reply