Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:15 12 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Photo Viewer

Author Message
detonat3
Newbie

Joined: 24/12/2018
Location: Australia
Posts: 7
Posted: 05:48am 27 Jan 2019
Copy link to clipboard 
Print this post

Hi all,
I'm just wondering if anyone can help me, I am only new to programming and I'm trying to create a photo viewer using a Micromite Plus LCD Backpack.
Is there already a thread on this or is someone able to direct me to somewhere I can find the code to do this?
Edited by detonat3 2019-01-28
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9754
Posted: 05:58am 27 Jan 2019
Copy link to clipboard 
Print this post

Hello and welcome.

If you happen to use the Micromite Plus, the MicroMite Extreme(MMX), or the ARM-mite, most of the work is done for you.

See the LOAD IMAGE command, page 54 of the advanced manual for the MM+ series of chips. The image must be a BMP(bitmap), but it can be a true-colour 24-bit BMP file, you just need to have the image on the SD card.

Done.
Smoke makes things work. When the smoke gets out, it stops!
 
detonat3
Newbie

Joined: 24/12/2018
Location: Australia
Posts: 7
Posted: 07:47am 27 Jan 2019
Copy link to clipboard 
Print this post

  Grogster said   Hello and welcome.

If you happen to use the Micromite Plus, the MicroMite Extreme(MMX), or the ARM-mite, most of the work is done for you.

See the LOAD IMAGE command, page 54 of the advanced manual for the MM+ series of chips. The image must be a BMP(bitmap), but it can be a true-colour 24-bit BMP file, you just need to have the image on the SD card.

Done.


Thanks Grogster, I'm almost there now but I'm getting a syntax error. Is there a typo in the manual? Thanks
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 02:29pm 27 Jan 2019
Copy link to clipboard 
Print this post

There is no typo. The command is:
LOAD IMAGE filename$

Where filename$ is a string expression, variable or constant. If you are using a string constant for the file name it should be surrounded by double quotes. For example:
LOAD IMAGE "TIGER.BMP"

I bet that is your problem.

You should post your code, then we could spot what you are doing wrong.
Geoff Graham - http://geoffg.net
 
detonat3
Newbie

Joined: 24/12/2018
Location: Australia
Posts: 7
Posted: 10:02pm 27 Jan 2019
Copy link to clipboard 
Print this post

OK at one point in the manual it shows LOAD IMAGE file$ [, x, y] I was trying to include the x and y section but it turns out I don't need it.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9754
Posted: 10:28pm 27 Jan 2019
Copy link to clipboard 
Print this post

Yes, that does catch a few newcomers. The square brackets indicate an optional parameter for any MMBASIC command, so if you don't need to specify them, don't.
Smoke makes things work. When the smoke gets out, it stops!
 
detonat3
Newbie

Joined: 24/12/2018
Location: Australia
Posts: 7
Posted: 11:55pm 27 Jan 2019
Copy link to clipboard 
Print this post

Great, thanks for the help
 
subalib
Newbie

Joined: 07/02/2019
Location: Australia
Posts: 11
Posted: 05:19am 07 Feb 2019
Copy link to clipboard 
Print this post

iEdited by subalib 2019-02-09
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025