|
Forum Index : Microcontroller and PC projects : MMBASIC, Explore 100, Picomite graphics display
| Author | Message | ||||
| tgerbic Senior Member Joined: 25/07/2019 Location: United StatesPosts: 115 |
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 KingdomPosts: 4331 |
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 ZealandPosts: 2526 |
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: AustraliaPosts: 3248 |
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 ZealandPosts: 2526 |
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 :-) |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |