Typo(s) in manual?
Moderator: Mods
Typo(s) in manual?
I noticed that Manual Update (4.19) and Scroll (4.20) has the same command number, 254 89.. in the manual. I guess that one or both of them are incorrect, also 89 seems to crash the display.
What are the correct values for these two commands?
[EDIT] Manual Update should be 91 i think, but what about Scroll?
What are the correct values for these two commands?
[EDIT] Manual Update should be 91 i think, but what about Scroll?
Hi Zyprexa,
I appreciate you bringing those commands to our attention, I can confirm that manual update will be 91, and we will be looking into the crash reported by 89. I expect the manual will undergo a revision next week to clean up a few small details such as these.
Thanks,
~Troy
I appreciate you bringing those commands to our attention, I can confirm that manual update will be 91, and we will be looking into the crash reported by 89. I expect the manual will undergo a revision next week to clean up a few small details such as these.
Thanks,
~Troy
Troy Clark
Design & Development
Matrix Orbital
Design & Development
Matrix Orbital
-
- Matrix Orbital
- Posts: 742
- Joined: Thu Dec 13, 2001 4:00 pm
- Location: Earth.... I think..
- Contact:
As troy mentioned manual update is indeed 91 i couldn't reproduce the crash you had with the scroll command though.
the test command i used was
X=0
Y=0
W=480
H=272
MoveX=16
MoveY=16
translating to the command being send :
254 89 0 0 0 0 1 224 1 16 0 16 0 16
what where the parameters that made it crash for you?
the test command i used was
X=0
Y=0
W=480
H=272
MoveX=16
MoveY=16
translating to the command being send :
254 89 0 0 0 0 1 224 1 16 0 16 0 16
what where the parameters that made it crash for you?
missing error message?
Scroll seems to work fine now, and i'm not really sure what made it crash but most likely my code
But, and maybe it's my code again but i've run into the error/return message
252 95 00 01 255
when using the Load Bitmap to Buffer 95 (5.1) and Display Bitmap 97 (6.1)
But i can't find this error message in the manual, which is frustrating because i can't figure out why images won't display.
The image i'm trying to display is 480 x 272 pixels. And i've tried gif, bmp and also jpg format.
Here is a debug log from GTTProject.
Write:
Read:When i run this the display remains blank
[EDIT] Appears it was either because the image was no 16bit or because i forwardslashed in the path. Anywho, it's working now
Still would be nice to know what exactly the error message means.
But, and maybe it's my code again but i've run into the error/return message
252 95 00 01 255
when using the Load Bitmap to Buffer 95 (5.1) and Display Bitmap 97 (6.1)
But i can't find this error message in the manual, which is frustrating because i can't figure out why images won't display.
The image i'm trying to display is 480 x 272 pixels. And i've tried gif, bmp and also jpg format.
Here is a debug log from GTTProject.
Write:
Code: Select all
#clear buffer 0
254
209
0
# load file 'images/bghomer.bmp' into index 0
254
95
0
105
109
97
103
101
115
47
98
103
104
111
109
101
114
46
98
109
112
0
# display index 0 bitmap at 0,0
254
97
0
0
0
0
0
Code: Select all
#what does the following mean?
252
95
0
1
255
# Buffer does not contain a valid bitmap
252
97
0
1
4
[EDIT] Appears it was either because the image was no 16bit or because i forwardslashed in the path. Anywho, it's working now
Still would be nice to know what exactly the error message means.
-
- Matrix Orbital
- Posts: 742
- Joined: Thu Dec 13, 2001 4:00 pm
- Location: Earth.... I think..
- Contact:
252 xx 00 01 255
is pretty much an unhandled exception during execution of command xx ideally this would never happen but if you feed it data that sneaks past our input validation you can still sometimes get bitten by it.
Both situations you mention as possible cause should be checked and return proper error codes. If you could find what you did to trigger it i'd be very interested in that.
is pretty much an unhandled exception during execution of command xx ideally this would never happen but if you feed it data that sneaks past our input validation you can still sometimes get bitten by it.
Both situations you mention as possible cause should be checked and return proper error codes. If you could find what you did to trigger it i'd be very interested in that.
Regarding the crash of 89,i can't be sure what caused it, but most likely it was my fault. What happend was some text appeared on the screen. I could not catch what it said, But it looked like some debug output of some sort.
I will take note of what i'm doing in case it happens more times.
I get the 252 95 0 1 255 error message when i write the bitmap path with /'s instead of \'s.
I will take note of what i'm doing in case it happens more times.
I get the 252 95 0 1 255 error message when i write the bitmap path with /'s instead of \'s.
Need help in drawing bitmap
Hello,
I am working on drawing bitmap using GTT project but getting error while displaying bitmap it is displaying the file path rather the exact bitmap on TFT.
My exact command sequence is:
1. Clear All Buffer
2. Load Bitmap
3. Draw Bitmap
The images I am using is either bmp/jpg or gif files.
I am working on drawing bitmap using GTT project but getting error while displaying bitmap it is displaying the file path rather the exact bitmap on TFT.
My exact command sequence is:
1. Clear All Buffer
2. Load Bitmap
3. Draw Bitmap
The images I am using is either bmp/jpg or gif files.
Ashok Gupta
I am unable to see SD card on my PC to upload the image on SD card I tried with plug in usb with mass storage device but it is not displaying anything on TFT also not showing any external drive on PC.Henry wrote:the path used will access the SD card be default. So if your bitmaps are stored in "menu" on the SD Card, you would just access "menu/button1.bmp" for example.
Please Tell me the exact procedure to access SD card on My PC (Manually or by Program)
Ashok Gupta
No worries Ashok,
The Mass Storage section in the manual will direct you as to what jumper settings and headers are required for either communication, or in your case storage. With the USB model, I like to use one cable only (you can use both at the same time). Making sure the jumper and cable are on the same side of the board allows me to keep track of the mode I'm in.
~Troy
The Mass Storage section in the manual will direct you as to what jumper settings and headers are required for either communication, or in your case storage. With the USB model, I like to use one cable only (you can use both at the same time). Making sure the jumper and cable are on the same side of the board allows me to keep track of the mode I'm in.
~Troy
Troy Clark
Design & Development
Matrix Orbital
Design & Development
Matrix Orbital
Clark wrote:No worries Ashok,
The Mass Storage section in the manual will direct you as to what jumper settings and headers are required for either communication, or in your case storage. With the USB model, I like to use one cable only (you can use both at the same time). Making sure the jumper and cable are on the same side of the board allows me to keep track of the mode I'm in.
~Troy
I have tried the same procedure but when I placed the jumper on USB mass storage device the power is up on tft but neither it shows up the USB cable sign on TFT nor the external drive on PC.
Ashok Gupta
Ashok wrote:Clark wrote:No worries Ashok,
The Mass Storage section in the manual will direct you as to what jumper settings and headers are required for either communication, or in your case storage. With the USB model, I like to use one cable only (you can use both at the same time). Making sure the jumper and cable are on the same side of the board allows me to keep track of the mode I'm in.
~Troy
I have tried the same procedure but when I placed the jumper on USB mass storage device the power is up on tft but neither it shows up the USB cable sign on TFT nor the external drive on PC.
I have put the bitmap images on SD card using mass storage mode but still unable to display image on TFT.
I am having 7.gif on SD card root also have tried with various jpg and bmp files aw well.
Beow is the code of GTT project I am using:
ClearAllBuffers 1
LoadBitmapToBuffer 3
254 95
0
7.gif
DisplayBitmap 4
254 97
0
0
0
Also I don't have autoexec in SD card root folder does it effect anything?
Ashok Gupta