[Solved] T6963 GLCD issue

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

[Solved] T6963 GLCD issue

Post by EtsDriver »

Ive been trying to get the print number to work in simulation, but no success there for some reason:

https://www.dropbox.com/s/6gfwtgv1d5zcb ... .fcfx?dl=0

Workaround is to convert the int to string and print it...
Last edited by EtsDriver on Wed May 06, 2015 5:46 pm, edited 1 time in total.
Ill just keep the good work up!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963 GLCD issue

Post by Benj »

Hello,

The variable test2 you are using is a byte and so can store the values 0-255. You are loading the byte with the value 1024.

In binary this looks like this.

Byte = 0b1000000000 = 0b00000000

If you change the byte to an int then it should work as you are expecting, however it seems there is still a problem with PrintNumber so I will investigate for you.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963 GLCD issue

Post by Benj »

Ok I have found the problem and fixed it.

Copy the attached file here "C:\Program Files (x86)\Flowcode 6\components" and restart Flowcode to solve the problem.

Tony Brown
Posts: 81
Joined: Wed Jun 20, 2012 9:59 pm
Has thanked: 36 times
Been thanked: 5 times
Contact:

Re: T6963 GLCD issue

Post by Tony Brown »

Do you copy the whole file to that location? The reason I am asking is that it is the only file in that format?

Regards

Tony

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: T6963 GLCD issue

Post by Benj »

Hi Tony,

Looks like I uploaded the source rather then the exported component file. Here is the correct file.
Attachments
gLCD_T6963C.fcpx
(30.78 KiB) Downloaded 266 times

Post Reply