mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#pimoroni

0 Beiträge0 Beteiligte0 Beiträge heute

I just published a #micropython #mqtt server and #python client for accessing a remote filesystem on a micropython device by mqtt.

See:

github.com/dov/upython-mqtt-fi

Meanwhile I have used it for uploading photos to my #pimoroni #presto device.

This library solves the "grandma problem" of how to place a photo frame on grandma's mantle piece and push images to it without her interaction.

I micropython file server controlled over mqtt. Contribute to dov/upython-mqtt-file-server development by creating an account on GitHub.
GitHubGitHub - dov/upython-mqtt-file-server: I micropython file server controlled over mqttI micropython file server controlled over mqtt. Contribute to dov/upython-mqtt-file-server development by creating an account on GitHub.

A Practical #Pimoroni #Presto #Project for media display/control.

I've been working on the code some more and have now got a working Skip button!

Since I turn the backlight off when paused I have also added the option to touch the screen to resume.

and some refactoring has been carried out to make the code a little nicer to look at and tweak later.

It's also more responsive to touch for Pause and Skip.

I will keep testing this whilst I am at work tomorrow and over the weekend.

Hopefully a new blog post next week with the updates.

#python#microPython#Linux
Fortgeführter Thread

Pico C++ graphics fans may be excited to hear I just pushed my example of using psram for a full screen double buffer on the #Pimoroni #Presto to my repo. See the readme here for details as the checkout of submodules is a bit messed up in a dependency. github.com/Footleg/rpi-pico/tr

GitHubrpi-pico/pico-cpp at main · Footleg/rpi-picoPrograms developed to run on the Raspberry Pi Pico and other boards using the RP2040 chip - Footleg/rpi-pico
Fortgeführter Thread

A productive day sorting out all my #pimoroni #presto C++ code and publishing it finally. Including my touchscreen and accelerometer drivers and a set of example projects to show them in use. See the presto-projects folder here:
github.com/Footleg/rpi-pico/tr

GitHubrpi-pico/pico-cpp at main · Footleg/rpi-picoPrograms developed to run on the Raspberry Pi Pico and other boards using the RP2040 chip - Footleg/rpi-pico

I have turned my #pimoroni #presto into a digital photoframe. Images are uploaded to it through #MQTT So the pimoroni frame can in principle be placed "anywhere on the internet" with mqtt broker access, and then you can upload images to it from afar.

I plan to publish the code on github in the next few days.

Fortgeführter Thread

This is a curse of compromises but at least I now have options. Using PSRAM , I converted my bouncing balls simulation to run at the full #Presto screen resolution of 480x480 with my anti-aliasing code. Graphics look beautiful, but screen refresh rate dropped to 10 fps due to the time taken to copy the drawing buffer in PSRAM to the screen buffer in the main RAM. Compare this to using a 240 x 480 resolution for buffers all in main RAM where I get 56 fps. #RaspberryPi #pico2 #rp2350 #pimoroni

Fortgeführter Thread

Not content with this success, I went on to write a pico C++ driver for the lsm6ds3 accelerometer using the pimoroni-i2c library as there did not appear to be any C++ drivers in the wild for this on #rpipico
This along with the touch screen C++ driver I converted from lvgl to the pimoroni-pico graphics will be published in my #presto examples once I have fully implemented the driver and written some simple boilerplate examples.
#pimoroni #pico #RaspberryPi