Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:28 06 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 V6.03.00 release candidates

     Page 16 of 20    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 04:41pm 02 Jun 2026
Copy link to clipboard 
Print this post

homa and mozzie
Please could you post details of the various screens you have tested and the status of what works and what doesn't (including dual touch). Then I can construct a list of know good screens for future users.
Thanks
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2983
Posted: 06:16pm 02 Jun 2026
Copy link to clipboard 
Print this post

@Peter
For testing purposes, I am using your latest published firmware (PicoMiteHDMIUSBV6.03.00RC15.uf2) on your PICO I2S reference board set with OPTION RESET HDMIUSBI2S
I have various HDMI usb-capacitive Touchscreens here and will report back on how they behave.

To clarify, should the 'coming soon' program that you posted on the 'Now were cooking...' thread be the one we need to use? I ask, because it appears to be, but I am only seeing Expand and Contract reports (and not sure if the original syntax in there is still in use).

I will also test the 'Pump demo' too, but I believe that is really just reacting touch-down and touch-up.

Will also check two-finger GUI TEST TOUCH.

Currently using genuine Waveshare 7HP-CAPQLED (7" Quantum Dot). Pump demo and two-finger touch work good. Only Contract and Expand work in the other test program.

Do you need anything else tested for each screen?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 06:38pm 02 Jun 2026
Copy link to clipboard 
Print this post

The latest code is RC15. The only thing missing is a bluetooth hdmi version which I need some new H/W to test properly.

You can check touch functionality with GUI TEST TOUCH which supports dual touch traces or you can run the attached to test all the gestures. This works on my 7" display with all gestures passing.
You can also play with the on-screen keyboard  which you set up with
OPTION SCREEN KEYBOARD n where n is the screen percentage to use for the keyboard (30-40 recommended)

  Quote  Do
Select Case Touch(SWIPE)
  Case 1 : Print @(0,0) "swipe LEFT     "
  Case 2 : Print @(0,0) "swipe RIGHT    "
  Case 3 : Print @(0,0) "swipe UP       "
  Case 4 : Print @(0,0) "swipe DOWN     "
End Select
If Touch(TAP)   Then Print @(0,16) "TAP            "
If Touch(DTAP)  Then Print @(0,16) "DOUBLE TAP     "
If Touch(HOLD)  Then Print @(0,16) "LONG PRESS     "
Select Case Touch(PINCH)
  Case 1 : Print @(0,32) "EXPAND         "
  Case 2 : Print @(0,32) "CONTRACT       "
End Select
Select Case Touch(ROTATE)
  Case 1 : Print @(0,48) "ROTATE CW      "
  Case 2 : Print @(0,48) "ROTATE CCW     "
End Select
If Touch(TTAP)  Then Print @(0,64) "TWO-FINGER TAP "
Pause 50
Loop
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2983
Posted: 06:47pm 02 Jun 2026
Copy link to clipboard 
Print this post

Acknowledged.

I just had a superb OLED monitor just arrive (Showscren OLED 10.5", 2560x1600). Image is absolutely amazing with blacks being truly black, no matter what angle (i.e. no backlight wash).

However, when plugged in I get the following appear:

PicoMiteHDMI MMBasic USB RP2350B Edition V6.03.00RC15
Copyright 2011-2026 Geoff Graham
Copyright 2016-2026 Peter Mather

> Multi-touch Connected on channel 4 (10 contacts, 16383x9599)
> Unknown Device Connected on channel 3 (pid=&H859, vid=&H27C0)
> 0x6 0xA
0xFF 0x9
0xFF 0xA1
0x1 0x85
0x50 0x9
0xFF 0x15
0x0 0x26
0x0 0xFF
0x75 0x8
0x95 0x3F
0x81 0x6
0x85 0x51
0x9 0xFF
0x15 0x0
0x26 0x0
0xFF 0x75
0x8 0x95
0x3F 0x91
0x6 0xC0
Unknown Device Connected on channel 2 (pid=&H859, vid=&H27C0)
> 0x5 0x1
0x9 0x2
0xA1 0x1
0x85 0x7
0x9 0x1
0xA1 0x0
0x5 0x9
0x19 0x1
0x29 0x3
0x15 0x0
0x25 0x1
0x75 0x1
0x95 0x3
0x81 0x2
0x75 0x1
0x95 0x5
0x81 0x3
0x5 0x1
0x9 0x30
0x75 0x10
0x95 0x1
0x55 0xE
0x65 0x11
0x35 0x0
0x46 0x79
0x8 0x26
0xFF 0x3F
0x81 0x2
0x9 0x31
0x46 0x8A
0x3 0x26
0x7F 0x25
0x81 0x2
0x9 0x38
0x15 0x81
0x25 0x7F
0x75 0x8
0x95 0x1
0x81 0x6
0xC0 0xC0

It is capable of receiving video via USB so not sure if that is related to the two 'Unknown Device' listed above.  

Using OPTION RESOLUTION 1280

Is this a non-starter, or does the above mean something to you??
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 366
Posted: 07:06pm 02 Jun 2026
Copy link to clipboard 
Print this post

Peter,

Edit might affect the mouse and I2C, as Edit freezes on my system with the message "Error I2C display not configured."
After that, the editor becomes unusable (> cursor) and only responds with the scroll wheel displaying strange characters.
The LCDI2C also no longer works correctly with this version.
Disabling OPTION SYSTEM I2C does not help either.

Tested with RP2350 and RP2040.


PicoMite MMBasic RP2350B V6.03.00RC15
Copyright 2011-2026 Geoff Graham
Copyright 2016-2026 Peter Mather

Total of 6 Mbytes PSRAM available
> option list
PicoMite MMBasic RP2350B V6.03.00RC15
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION PICO OFF
OPTION CPUSPEED (KHz) 200000
OPTION DISPLAY 50, 100
OPTION F1 help
OPTION F5 list commands
OPTION F6 list functions
OPTION F7 list pins
OPTION F8 option list
OPTION F9 fm
OPTION PLATFORM WeAct-RP2350B-FLASH:16-PSRAM:8
OPTION PSRAM PIN GP0

PicoMite MMBasic RP2040 V6.03.00RC15
Copyright 2011-2026 Geoff Graham
Copyright 2016-2026 Peter Mather

> option list
PicoMite MMBasic RP2040 V6.03.00RC15
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION PICO OFF
OPTION CPUSPEED (KHz) 200000
OPTION DISPLAY 50, 115
OPTION SDCARD GP19, GP10, GP11, GP12
OPTION F1 help
OPTION F5 list commands
OPTION F6 list functions
OPTION F7 list pins
OPTION F8 list system i2c
OPTION F9 fm


Jan.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2983
Posted: 07:19pm 02 Jun 2026
Copy link to clipboard 
Print this post

Strange Observation (don’t ask how I found it!):

In the editor (with colourcode on), place the cursor after any code, and then type any 8 hexadecimal characters (0-9, a-f). On pressing the eighth  character, the 8 characters turn green (as if it is a value).

The simplest form of this is with nothing in the editor, just type for example 00000000

Anything beforehand, either on the same line, or any line beforehand, will still show this ‘feature’.
Anything typed after (either on same line or another line) switches it back to white.

NOT an issue, was just an observation I spotted
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2983
Posted: 07:48pm 02 Jun 2026
Copy link to clipboard 
Print this post

With an 8" Waveshare (8DP-V2):

When the USB touch is connected, I see the following message:

USB Mouse Connected on channel 2

This is no matter which of the four USB ports the touch is connected to.
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 623
Posted: 09:00pm 02 Jun 2026
Copy link to clipboard 
Print this post

  matherp said  The latest code is RC15. The only thing missing is a bluetooth hdmi version which I need some new H/W to test properly.

You can check touch functionality with GUI TEST TOUCH which supports dual touch traces or you can run the attached to test all the gestures. This works on my 7" display with all gestures passing.
You can also play with the on-screen keyboard  which you set up with
OPTION SCREEN KEYBOARD n where n is the screen percentage to use for the keyboard (30-40 recommended)

  Quote  Do
Select Case Touch(SWIPE)
  Case 1 : Print @(0,0) "swipe LEFT     "
  Case 2 : Print @(0,0) "swipe RIGHT    "
  Case 3 : Print @(0,0) "swipe UP       "
  Case 4 : Print @(0,0) "swipe DOWN     "
End Select
If Touch(TAP)   Then Print @(0,16) "TAP            "
If Touch(DTAP)  Then Print @(0,16) "DOUBLE TAP     "
If Touch(HOLD)  Then Print @(0,16) "LONG PRESS     "
Select Case Touch(PINCH)
  Case 1 : Print @(0,32) "EXPAND         "
  Case 2 : Print @(0,32) "CONTRACT       "
End Select
Select Case Touch(ROTATE)
  Case 1 : Print @(0,48) "ROTATE CW      "
  Case 2 : Print @(0,48) "ROTATE CCW     "
End Select
If Touch(TTAP)  Then Print @(0,64) "TWO-FINGER TAP "
Pause 50
Loop



> option list
PicoMiteHDMI MMBasic USB RP2350A Edition V6.03.00RC15
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION SYSTEM I2C GP20,GP21
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION RESOLUTION 1280x720 @ 372000KHz
OPTION DISPLAY 30, 80
OPTION GUI CONTROLS 50
OPTION SDCARD GP22, GP26, GP27, GP28
OPTION AUDIO GP10,GP11', ON PWM CHANNEL 5
OPTION RTC AUTO ENABLE
OPTION MODBUFF ENABLE  192
OPTION PLATFORM HDMIUSB
OPTION DEFAULT FONT 3, 1


What a party :-) I've installed the latest RC15.
Sometimes I can get two fingers to work with GUI TEST TOUCH, but in 9 out of 10 cases only one is registered. The code above never displays the multi-touch gestures either. What a shame. The recognition rate seems to be too poor for that. And yet it’s supposed to support 10-point multi-touch.

I’m still having the same issue with the Microsoft USB mouse/keyboard dongle, as WhiteWizzard also points out.

OPTION SCREEN KEYBOARD 30
OPTION SCREEN KEYBOARD off

Great! The on-screen keyboard is brilliant, isn't it?


[2] Option keyboard 30
Error : Invalid in a program
>


Can I show or hide it using a code?

It would be brilliant if you could tap two fingers from the bottom of the screen or double tap three fingers to bring it up, and have a button to hide it again, just like on a tablet :-)

But for that to work, multitouch would have to be working in the first place; as I said, my screen is an MageDok T090A HDMI 9-inch IPS 1280x720 Touch 10 point.

The pump demo works perfectly!
Thanks Peter.

Matthias
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 623
Posted: 09:07pm 02 Jun 2026
Copy link to clipboard 
Print this post

I’ve tried GUI TEST TOUCH several times now. I don’t think I actually have true multi-touch. It just looks like it, but the points are always alternating between the two fingers. That’s why I mistakenly thought it only worked sometimes!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 09:38pm 02 Jun 2026
Copy link to clipboard 
Print this post

The on=screen-keyboard (OSK) will show when at the command prompt and disappear when you run a program. To use it in a program you can use the command KEYBOARD ON/OFF
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 623
Posted: 09:46pm 02 Jun 2026
Copy link to clipboard 
Print this post

  matherp said  The on=screen-keyboard (OSK) will show when at the command prompt and disappear when you run a program. To use it in a program you can use the command KEYBOARD ON/OFF


Great!
Edited 2026-06-03 07:46 by homa
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 366
Posted: 10:11pm 02 Jun 2026
Copy link to clipboard 
Print this post

Peter,

Also tested with the WebMite RP2350 V6.03.00RC15 version, where the same editing problem occurs as in my previous message.
Error: Display not configured, and one can no longer exit the editor properly; response on the screen is only possible via the mouse buttons and scroll wheel with Tera Term.
By I2C, I meant that the I2CLCD command no longer works correctly with an LCD2004 display. Strange characters appear on the display.
Going back to V6.03.00RC14, it works correctly again for the two PicoMite versions.

Jan.
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 366
Posted: 11:50pm 02 Jun 2026
Copy link to clipboard 
Print this post

Peter,

Could the maximum character limit of the A drive file also apply to the FM file, causing copying to fail if it is too long for FM?

Jan.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3268
Posted: 12:19am 03 Jun 2026
Copy link to clipboard 
Print this post

Peter, thank you for the enhanced OneWire commands.

OneWire WRITE Pin, Flag, length, array()
OneWire READ Pin, Flag, length, array()
OneWire WRITE Pin, Flag, length, String$
OneWire READ Pin, Flag, length, String$
Are all perfect.
> PinNo=mm.info(pinno GP6)
> OneWire WRITE PinNo, 1, 1, &h33 : OneWire READ PinNo, 2, 8, RC$
> ROM = str2bin(Uint64,RC$,big) : ? ROM, "or &h";hex$(ROM)
2891667279928370184    or &h2821441204C02408
>
> z$ = chr$(&hCC)+chr$(&h44)
> OneWire WRITE PinNo, 1, 2, z$
>
 
mozzie
Guru

Joined: 15/06/2020
Location: Australia
Posts: 370
Posted: 01:40am 03 Jun 2026
Copy link to clipboard 
Print this post

G'day Peter,
For Future Reference:

WaveShare 7" 1024 x 600 HDMI QLED CAP Touch Display - 5 point touch
(Purchased 2026)

Works with: ALL tests
GUI TEST TOUCH - Dual Trace - Passed
On Screen Keyboard - Passed
Pump GUI Demo      - Passed
Swipe U/D/L/R      - Passed
TAP/DTAP/HOLD      - Passed
EXPAND/CONTRACT    - Passed
ROTATE CW/CCW      - Passed
Two Finger Tap     - Passed
WaveShare 7" QLED CAP Touch 70H-1024600-QLED-B


Elecrow 10.1" 1280 x 800 HDMI IPS RES Touch Display - 1 point touch
(Purchased 2020)

Works with:
GUI Test Touch - Single Trace - Passed
On Screen Keyboard - Passed
Pump GUI Demo      - Passed
Swipe U/D/L/R      - Passed
TAP/DTAP/HOLD      - Passed
EXPAND/CONTRACT    - N/A
ROTATE CW/CCW      - N/A
Two Finger Tap     - N/A
Elecrow HEV1001(RR101) 10.1" Metal Shell Touch Monitor

Still happy as a pig in the proverbial  

Regards, Lyle.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 07:07am 03 Jun 2026
Copy link to clipboard 
Print this post

JanVolk
Sorry about the editor - found and fixed - will post update later.
What version are you seeing the i2clcd issues with? Nothing has changed in that area for some time. Please provide a test program because I can't replicate
My test program which works perfectly
I2CLCD init &H27
Do
I2CLCD 1,1,Space$(20)
I2CLCD 2,1,Space$(20)
I2CLCD 3,1,Space$(20)
I2CLCD 4,1,Space$(20)

I2CLCD 1,Rnd*10+1,Str$(i)+Chr$(0)
I2CLCD 2,Rnd*10+1,Str$(i+10)+Chr$(0)
I2CLCD 3,Rnd*10+1,Str$(i+20)+Chr$(0)
I2CLCD 4,Rnd*10+1,Str$(i+30)+Chr$(0)
Inc i
Pause 200
Loop


Please explain more the FM request.
Edited 2026-06-03 18:21 by matherp
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 08:49am 03 Jun 2026
Copy link to clipboard 
Print this post

fix  for editor issue in non-display versions

PicoMiteRP2040V6.03.00RC15.zip

PicoMiteRP2350V6.03.00RC15.zip
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 366
Posted: 09:20am 03 Jun 2026
Copy link to clipboard 
Print this post

Peter,

Thanks for fixing the error in edit.
I happened to use a very long name and was able to save it to A just fine.
But when I try to copy this file with a long name to B using FM, I get "Path too long".
Example: save "abcdefghijklmnopqrstuvwxyzABCDEFGHIJ12345.bas" works fine to drive A, but not to drive B with FM.
If I copy "a:/abcdefghijklmnopqrstuvwxyzABCDEFGHIJ12345.bas" to "b:/backup/abcdefghijklmnopqrstuvwxyzABCDEFGHIJ12345.bas", it works fine.
But if the "backup" folder is longer, for example: "backupRP2040-sd", then copying "a:/.........." to "b:/backupRP2040-sd/" also works fine. With FM, I get Path too long.
To get everything on the screen correctly with FM, I set: OPTION DISPLAY 50,118
In Tera Term, I make extensive use of copy and paste with the drag function, so I have no problems entering long names.

Regarding the interference with the I2C LCD2004 display with I2CLCD, I tested it again with the latest firmware and am now using a saved file, and it works well now because I did not use edit.


> option list
PicoMite MMBasic RP2040 V6.03.00RC15
OPTION SYSTEM I2C GP20,GP21
OPTION COLOR CODE ON
OPTION HEARTBEAT OFF
OPTION PICO OFF
OPTION CPU SPEED (KHz) 200000
OPTION DISPLAY 50, 118
OPTION SDCARD GP19, GP10, GP11, GP12
OPTION F1 help
OPTION F5 list commands
OPTION F6 list functions
OPTION F7 list pins
OPTION F8 list system i2c
OPTION F9 fm


Jan.
 
JanVolk
Guru

Joined: 28/01/2023
Location: Netherlands
Posts: 366
Posted: 09:37am 03 Jun 2026
Copy link to clipboard 
Print this post

Peter,

Updated the PicoMite MMBasic RP2040 V6.03.00RC15 firmware and edit is working normally again. Thanks.

Jan.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11435
Posted: 09:58am 03 Jun 2026
Copy link to clipboard 
Print this post

Jan
Try this with your long filenames (RP2040 PicoMite)

PicoMite.zip
 
     Page 16 of 20    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026