Bridgetek / pico-brteve

Example code and utility to make Raspberry Pi/Raspberry Pi Pico work with Eve GPU from BridgeTek. https://brtchip.com/eve/
MIT License
8 stars 5 forks source link

Support Telemetrix for Pico #8

Closed brtchip-paul-jiao closed 2 years ago

brtchip-paul-jiao commented 2 years ago

Full user guide on Telemetrix for Raspberry Pi Pico: https://mryslab.github.io/telemetrix-rpi-pico/

SPI has been updated in client-side (Raspberry Pi Pico) and the working code of server-side can be found here: https://github.com/MrYsLab/Telemetrix4RpiPico/issues/2

We may port the lib\brtEve to control pico by UART through Telemetrix library. It enables writing the pure Python code on PC to control Eve

brtchip-tuannguyen commented 2 years ago

Ported telemetrix into brteve

Also added a hello world example:

image

image

brtchip-tuannguyen commented 2 years ago

Trying to run another example such as "bubble-code.py" but not success

image

brtchip-tuannguyen commented 2 years ago

Ported some example from circuitpython to Telemetrix:

brtchip-tuannguyen commented 2 years ago

On Telemetrix, we use EVE's command buffer 24 bytes only, because the server side use a buffer 30 bytes (MAX_COMMAND_LENGTH).

The Telemetrix's command header included 4 bytes, so totally command buffer is 28 bytes.

brtchip-tuannguyen commented 2 years ago

On CircuitPython _EVE build-in class, EVE's command buffer is 512 bytes

brtchip-paul-jiao commented 2 years ago

I logged a ticket https://github.com/MrYsLab/Telemetrix4RpiPico/issues/11 to increase the limit of command length of Telemetrix.