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...
[Solved] T6963 GLCD issue
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
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.
Copy the attached file here "C:\Program Files (x86)\Flowcode 6\components" and restart Flowcode to solve the problem.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 81
- Joined: Wed Jun 20, 2012 9:59 pm
- Has thanked: 36 times
- Been thanked: 5 times
- Contact:
Re: T6963 GLCD issue
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
Regards
Tony
- 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
Hi Tony,
Looks like I uploaded the source rather then the exported component file. Here is the correct file.
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 270 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel