Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:14 04 Dec 2026 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 : MMBasic LCD Designer

Author Message
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 04:06pm 02 Dec 2026
Copy link to clipboard 
Print this post

Hi all,

@jwettroth, instead of just creating a new backend to my ESP32 LCD Design Studio, I decided to put together a new web app project by copying bits from the ESP32 LCD one! I just put bits of what i use to use when connecting the SSD1963 7inch parallel to the explorer64!

I have not tested this one on real hardware yet, and not sure (I use to use XMODEM to upload the MMBASIC code) if the upload bit works etc, for now use it to put graphic components where you want them and copy the code to your MMBASIC editor.

MMBasic LCD Designer

Peter
 
v.lenzer

Senior Member

Joined: 04/05/2024
Location: Germany
Posts: 164
Posted: 05:52pm 02 Dec 2026
Copy link to clipboard 
Print this post

I just gave the LCD design tool a quick try on a 2-inch ST7789 display. It doesn't have touch input, but your app can still be used for background design. It’s very user-friendly, intuitive, and the transfer process is simple. So far, I’ve only downloaded the .bas file; I haven’t attempted a direct hardware transfer yet. The program worked right away. Great stuff—thanks a lot!
Best wishes! Joachim
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 06:04pm 02 Dec 2026
Copy link to clipboard 
Print this post

Hi v.lenzer,

Thanks very much indeed for the feedback, I'm away from the workshop so could not verify in hardware! So the graphics look as what is on the designer?

I'll add touch as it would be useful as i have it in the interactive preview simulation.

The AUTOSAVE should work but when I get back I'll check it out on ky older explorer64 MCU module!

Peter
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1204
Posted: 06:33pm 02 Dec 2026
Copy link to clipboard 
Print this post

Well, that's cool.

I copied the default, unaltered "Generated BAS" file, pasted it into a new file using Notepad++, saved it, transferred it with TeraTerm/zmodem to an attached CMM2 and hit run. As expected, no go, because GUICONTROLS wasn't set. On the CMM2, the command is "OPTION MAXCTRLS 23". And then it ran near perfectly.

The only error I saw was the size of the GUI LED (#3). It was double sized - the third parameter is the radius, not the diameter. Changing it from 30 to 15 fixed that.

Also, minor detail, the GUI GAUGE (#2) isn't segmented on the real screen as it appears in the LCD_Designer Design tab/pane.

Send to Mite didn't seem to do anything.

Nice work!

EDIT: The CMM2 screen matched the LCD_Designer screen (other than the LED size) and the mouse even worked perfectly!

EDIT2: Clicking a bit more, I see I can change it to CMM2, however, I can't choose alternate screen resolutions. I like that your program scales everything to match the chosen screen resolution.
Edited 2026-12-03 04:39 by vegipete
Visit Vegipete's *Mite Library for cool programs.
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 07:18pm 02 Dec 2026
Copy link to clipboard 
Print this post

Many thanks vegipete for testing the output on the CMM2. I've got some more learning to do on this, your feedback is very valuable as I don't have a CMM device.
I'll update the Web app and post to let you and others interested know.

Peter
 
v.lenzer

Senior Member

Joined: 04/05/2024
Location: Germany
Posts: 164
Posted: 09:46am 03 Dec 2026
Copy link to clipboard 
Print this post

  Quote  I'm away from the workshop so could not verify in hardware!


Here’s a photo of my setup. As you can see, the LED is larger than in the design.

I’ll definitely be using this to enhance some of my projects!







Addendum: I just noticed that you’ve already adjusted the LED size. Great.
The "interactive preview" is also very helpful.
Edited 2026-12-03 19:57 by v.lenzer
Best wishes! Joachim
 
v.lenzer

Senior Member

Joined: 04/05/2024
Location: Germany
Posts: 164
Posted: 10:08am 03 Dec 2026
Copy link to clipboard 
Print this post

I have slightly modified the design, but left the LED as it was. In the design, it is the correct size; on the hardware, however, it is not. Furthermore, the direct download to the port does not work for me. Although the system correctly identifies which port is connected to the RP2350, and a message appears briefly after selecting the port—too quickly to read—the new source code is not actually transferred.
Best wishes! Joachim
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 12:57pm 03 Dec 2026
Copy link to clipboard 
Print this post

Ive,done an update to fix the feedback from v.lenzer


All four improvements are live:

GUI LED now emits radius instead of diameter,
GUI GAUGE renders as a smooth continuous arc band,
Colour Maximite 2 supports Mode 1 (800×600), Mode 2 (640×480), Mode 7 (800×480), Mode 3 (1024×768), and Mode 4 (1280×1024) with automatic scaling and MODE commands,
and Send to Mite now shows status and COM-port-in-use guidance (such as closing TeraTerm or MM-Edit) from any tab.
Try switching to Colour Maximite 2 and picking a monitor mode, then check the Generated BAS tab.

Peter
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 04:31pm 03 Dec 2026
Copy link to clipboard 
Print this post

v.lenzer wrote:

  Quote  I just gave the LCD design tool a quick try on a 2-inch ST7789 display. It doesn't have touch input, but your app can still be used for background design. It’s very user-friendly, intuitive, and the transfer process is simple. So far, I’ve only downloaded the .bas file; I haven’t attempted a direct hardware transfer yet. The program worked right away. Great stuff—thanks a lot!


Touch was in the backend! but ive updated the start up demo that handles touch, try to see if it worksok on your CMM2!

Peter
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1204
Posted: 04:35pm 03 Dec 2026
Copy link to clipboard 
Print this post

Nice!

Could you alter the *-lcd-designer/studio pages so there are links between them, or some sort of higher level menu. Maybe the favicon and text at the top left of the designer page could link to a list of your marvelous utilities.

I suppose since MMBasic GUI controls don't have things like knobs or sliders, implementing them would be a whole lot more involved.

Thank you for a useful bit of software!
Visit Vegipete's *Mite Library for cool programs.
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 08:23pm 03 Dec 2026
Copy link to clipboard 
Print this post

I'll put a link to other *.lcd designer,  however ive got lots of different utilities!

Thanks for taking the time to feedback, I do appreciate them from all members as this helps evolve the app, and its the users that find those odd bugs I miss!

Peter
 
Batteryman
Regular Member

Joined: 05/04/2016
Location: United Kingdom
Posts: 48
Posted: 12:29am 04 Dec 2026
Copy link to clipboard 
Print this post

I've added a menu item to show links to the other designer Web apps.

Adding new controls to the mmbasic designer to generate the mmbasic code is plausible,  but it will slow down your mmbasic run! I can test it by adding a slider with a handler etc using a similar method I use in the esp32 lcd designer but it will make your mmbasic code quite large. You maybe using the c compiler that is available in mmbasic which the designer could generate, not sure.

I'll test in my sandbox but you can try on the hardware.


Peter
 
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 2026