Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:42 30 May 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, Explore 100, Picomite graphics display

Author Message
tgerbic
Senior Member

Joined: 25/07/2019
Location: United States
Posts: 115
Posted: 06:41am 30 May 2026
Copy link to clipboard 
Print this post

I do not have the hardware right now but hopefully a simple question.

If I boot up a PIC or Pico running MMBasic I will get to the command line. Could I display graphics by just sending immediate commands in sequence to the command line to execute.  So in this case I am not actually writing a program and having it render based on commands as usual. I would like to use another program running with another OS to be able to send strings to MMBasic running on a PIC or Pico, such as with an Explore 100 or Picomite card and have the card draw the graphics. Wondering if there is a restriction related to remembering the configuration and not doing something like clearing the screen between commands.

Might seem like an odd question but I think I have an application that could use this. I have never tried this, I would normally write a program to draw some graphics, and don't have hardware immediately available to try this out. If it should work I have some hardware at another location I could get next week.

Touch capability does not have to work, it is just drawing on the LCD.

Thanks
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4331
Posted: 07:16am 30 May 2026
Copy link to clipboard 
Print this post

The usual (?) way would be for that slave PIC/Pico run a small program reading commands from the master and doing the desired graphics (or other) things.

John
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2526
Posted: 07:57am 30 May 2026
Copy link to clipboard 
Print this post

i believe that some years back there were one or two forum members doing almost exactly what you describe - they were using an MX170 an an I/O expander that accepted  text commands to control pin states, set up PWM signals, query switch states, etc.

i can't be 100% sure, but i also think some were doing the same for graphics commands to draw on an attached LCD screen - this was before the days of driving VGA or DVI.

Geoff and others who were around back then may remember better than me.


cheers,
rob   :-)
Edited 2026-05-30 17:57 by robert.rozee
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3248
Posted: 08:04am 30 May 2026
Copy link to clipboard 
Print this post

On the Pico I think someone did something similar.
Had a quick search but didn't find it.
Perhaps the slave received commands as serial strings then used Execute to implement them.

Edit
Another possibility is Peter wrote a program to emulate a PS/2 keyboard.
That could be used to send console commands to another. here
Edited 2026-05-30 18:12 by phil99
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2526
Posted: 09:19am 30 May 2026
Copy link to clipboard 
Print this post

  phil99 said  On the Pico I think someone did something similar.
[...] a program to emulate a PS/2 keyboard. That could be used to send console commands to another [...]


just configure it to use a serial/RS232 console and send ascii strings directly to that. the MX170 only had a serial console, with no other options. later pic32 based ones supported PS/2 keyboards and onboard USB (although this was of limited usefulness as the MX470 et al had less-than-reliable onboard USB).


cheers,
rob   :-)
 
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