Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:00 22 Jun 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 ANSI - MMBasic on Mac/Windows/Linux in a terminal

     Page 5 of 6    
Author Message
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 06:07pm 11 Jun 2026
Copy link to clipboard 
Print this post

A lot of boards (one of mine in fact) won't power the 5V (VBUS) over USB, and the keyboard needs that.  Another one of my board does do this when I supply external power over the jack.  If you have a USB breakout connector your could inject 5V.
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 08:21pm 11 Jun 2026
Copy link to clipboard 
Print this post

That was it!!! I added power to my usb adapter and it ran right away! I never even thought about that myself. Ok , back to playing........Thank You.
Jack
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 08:46pm 11 Jun 2026
Copy link to clipboard 
Print this post

  gadgetjack said  I am amazed at the code that comes out of these 3 smart men. Some great fun for all of us on the sweat of these guys and their code. I tip my hat to all three of you.
Jack


I am assisted by claude and codex.  I am using 30 years of coding experience for design and architecture, but this would probably have taken me a year on my own.
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 08:48pm 11 Jun 2026
Copy link to clipboard 
Print this post

  gadgetjack said  That was it!!! I added power to my usb adapter and it ran right away! I never even thought about that myself. Ok , back to playing........Thank You.
Jack


Now you've got keyboard and a display - full computer!

I am working on a CYD (Cheap yellow board) port - which will just be an original ESP32 port.  Probably a lot more limited, but I think it will work.
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 10:28pm 11 Jun 2026
Copy link to clipboard 
Print this post

I have 3 or 4 of those boards too so look forward to that release too.
Jack
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 10:36pm 11 Jun 2026
Copy link to clipboard 
Print this post

The port itself didn't take long.  VGA is a bit of a heavy lift as the hardware is different the memory more constrained. The CYD LCD displays I think will be fairly standard, we'll see, I just ordered a few from amazon.  So many dev boards...  Some people do wood working, I collect dev boards.
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 11:12pm 11 Jun 2026
Copy link to clipboard 
Print this post

You and me both. After I retired I started collecting lots of development boards from ebay and aliexpress. Every once in a while I get to use them for something neat, like game emulators or smart led marquee displays and such. Lot more fun than keeping factory lines running.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8911
Posted: 06:50am 12 Jun 2026
Copy link to clipboard 
Print this post

The trouble with them (apart from their tendency to breed) is that many are designed for C or Python breadboarding and tie up pins that MMBasic would like. Usually perfectly logical ones, nothing silly. Like why split the audio over two different PWM channels? Why put stuff like a UART in the middle of the HSTX so it can't be used? PSRAM has really messed things up - the perfect opportunity to put its enable pin in awkward positions...

Looking forward to the CYDmite. :)  I've just ordered a third as I don't really want to wipe ASCII Aquarium yet. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 04:14pm 15 Jun 2026
Copy link to clipboard 
Print this post

Here's a CYD build

https://github.com/jvanderberg/PicoMiteAllVersions/releases/download/latest/MMBasic-Anywhere-esp32-cyd-merged.bin

This should work on any ESP32 classic - the 'CONFIGURE CYD' may work for your Cheap Yellow Display, it may not. it worked for mine. It supports sound, LCD, SD card, and wifi - no TLS, not enough space.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8911
Posted: 05:09pm 15 Jun 2026
Copy link to clipboard 
Print this post

Thanks. :)
My new display is with the UK courier now so I should get it either tomorrow or Wednesday, I think.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 05:54pm 15 Jun 2026
Copy link to clipboard 
Print this post

It powers up ok but the display is backward and upside down. Never saw that before.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8911
Posted: 06:11pm 15 Jun 2026
Copy link to clipboard 
Print this post

Which version of the CYD are you using? The one with micro USB and USB-C seems to use a different display to the micro USB only version, even though they have the same part number. Then there is the R version of the part number, which I think is different again.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 06:14pm 15 Jun 2026
Copy link to clipboard 
Print this post

Backwards as in reversed or mirrored? If so I can add an option to toggle that.

You can try:

OPTION LCDPANEL DISABLE

OPTION LCDPANEL ST7789, RPORTRAIT, GP2, 0, GP15, GP21, INVERT

As well to see if that fixes things.

If it's truly mirrored I need that extra setting.
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 06:15pm 15 Jun 2026
Copy link to clipboard 
Print this post

ESP32-2432S028. has 2 usb ports
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 06:16pm 15 Jun 2026
Copy link to clipboard 
Print this post

It is mirrored
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8911
Posted: 06:28pm 15 Jun 2026
Copy link to clipboard 
Print this post

That sounds like the one I should be getting.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 06:47pm 15 Jun 2026
Copy link to clipboard 
Print this post

Give it a few minutes to redeploy, get the new firmware, there will be a new option

OPTION LCDPANEL MIRROR ON

OPTION LCDPANEL MIRROR OFF
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 07:55pm 15 Jun 2026
Copy link to clipboard 
Print this post

That fixed it !!! I can't believe how fast you got this port done. I have been working on getting Basic32 on one of these units for a month now. This is WAY more powerful than that version. Another big Thanks !!!
Jack
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 233
Posted: 08:38pm 15 Jun 2026
Copy link to clipboard 
Print this post

I know I sound like a broken record at this point , but touch is not working. My board has a XPT2046 touch controller for a resistive touch screen. Options will not take that  
as a controller option. This is not a big problem for me , I am going to play with as is right now. I know there are a lot of different types of the CYD modules. Probably going to be a headache.
Jack
 
jvanderberg
Regular Member

Joined: 06/05/2026
Location: United States
Posts: 82
Posted: 09:22pm 15 Jun 2026
Copy link to clipboard 
Print this post

The CYD port actually defaults to the XPT2046 - the option list is mislabeled.  There should be a calibration program on the A: drive, and a gui kitchen sink to test it.

I could have something wrong or non-standard in the way its configured or the way the touch API works - if you've got a touch program that works differently, let me know.

I am pushing a fix that shows the option properly, and allows you to set the touch driver directly, in case maybe your board has it on a different gpio.
 
     Page 5 of 6    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026