This is an update to the MicroPython version that adds USB video streaming to your computer with a desktop viewer, an embedded JavaScript engine with JS modules (draw, wifi, http, and more) runnable within Picoware (Library -> Scripts), a ~27% FPS boost on PicoCalc from southbridge and LCD optimizations, and an mp3player app!
Changelog:
- Added
mjsC module withdraw,storage,time,log,pin,http,system,input,wifi,settings,uart, andmathJS modules- a
JSMicroPython class (picoware.system.js) withrunandexecmethods to execute a string or load a script from storage - a menu option in the
Librarysection calledScriptsthat lists.jsfiles inpicoware/scripts/*and executes them on-click (with the result logged)
- Added
usb_videoC module that sends frames over USB when connected:USBVideoStreamclass (picoware.system.usb)USB Streamtoggle in settings (Library->Settings)- Python GUI to view the stream (
python tools/usb_video_viewer.py)
- Increased system FPS on PicoCalc by about 27% (from 23.82 to 30.30 on the Pico2W in our tests):
- increased southbridge baudrate from 10 to 100
- doubled LCD chunk size
- Updated
audiodriver to exposeAudioInfoclass (picoware.system.audio.AudioInfo) and correct mp3 seeking - Added
load_modulemethod toAppLoaderclass for testing in ThonnyIDE - Updated
enginedriver with the latest Pico Game Engine updates - Fixed the updating functionality to correctly skip installation if back button is pressed
- Added
content_lengthanddownload_speedproperties toHTTPclass and updated theLoadingclass to draw those details if an HTTP instance is passed toLoading.animate - Updated the
Python Editorto save apps in the correct folder (picoware/apps/). This ensures that after apps are created they are available inLibrary->Applications - Updated
Simulator(@Slasher006):- latest libraries (http, websocket, mp3)
- copy
__init__.pyfiles when copying apps - update audio handoff
- Added
Floating Orbsscreensaver - Added
VibesMPapp (@Slasher006) - Updated LVGL initialization to set the MCU frequency to the default if active
- Updated all C modules to check if the instance is NULL in finalisers
- Fixed slow directory creation (PicoCalc) by detecting uninitialized directory sectors and adding bulk FAT-sector scanning