MMBASIC, Explore 100, Picomite graphics display


Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3808
Posted: 12:20pm 30 May 2026      

  tgerbic said  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.


Here are several different instances: Serial control of Picomite

I have a number of applications where one PicoMite talks to another over serial (or some other device uses serial to talk to a PicoMite. It can be a bare PicoMite which just accepts normal commands, or it can run a program to execute an expected set of commands, or, if a line begins with "!", execute the command which follows on the line.

So sending "! pin(GP3)=1" would result in the receiving program doing:
EXECUTE "pin(GP3)=1"

It's a really handy way to set pins or variables without having to load a new program.

There are complications if the sender needs to receive back a confirmation or other response. Some of that is addressed in the link above.