Posted: 01:01am 02 May 2024 |
Copy link to clipboard |
Print this post |
|
OPTION LCDPANEL VIRTUAL_C > OPTION list PicoMite MMBasic Version 5.09.00RC3 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION CPUSPEED 420000 'KHz OPTION DISPLAY 55, 155 OPTION LCDPANEL VIRTUAL_C > list 'Make a virtual image - 320x240 4 bits/pixel cls rgb(blue) BOX 30, 20, 250, 150, 20, rgb(red), rgb(yellow) CIRCLE 160, 120, 80, 10, 1.5, rgb(white), rgb(green) TEXT 160, 120, "Test Image", "CM", 2, 2, rgb(magenta), rgb(myrtle) save compressed image "Test Image.bmp" > files "*.bmp" A:/ 00:21 01-01-2000 4472 Test Image.bmp 0 directories, 1 file, 15462400 bytes free > xmodem s "Test Image.bmp" > On a WebMite you add the image name to a HTML so that it can be viewed elsewhere. Or, as above use Xmodem to send it to an attached PC via a terminal program.
As the virtual display is the same as a PicoMiteVGA that is a good place to develop that part of your program.
In the WebMite manual see the section "Live Graphical Data in a WEB Page" |