I've got the RoundyPi, which meets all the hardware requirements, flashed it with the firmware from the github repository.
I can dmesg | grep tty from the console and the MiSTer sees: cdc_acm 1-1.6:1.0 ttyACM0: USB ACM device
Changed the options in fat/tty2oled/tty2oled-user.ini to:
/logos/mister.png
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "tty_and_logos.py", line 49, in display_logo
File "lib/png.py", line 1542, in iterstraight
MemoryError: memory allocation failed, allocating 65664 bytes
Black screen. The display works with adafruit's firmware and test images when testing on my pc via usb.
At a loss here. Contacted the original dev, maybe he'll chime in...
Re: Round OLED Help (tty2pico)
Posted: Fri Feb 10, 2023 2:47 pm
by Flandango
How large is the mister.png file?
It sounds like it may be too large to fit in the Pico's memory.
Re: Round OLED Help (tty2pico)
Posted: Sat Feb 11, 2023 5:42 am
by CartoonDonkey
Argh... yeah it's filesize, and the project isn't fully baked. Author chimed in on reddit and said he was still working on it. :-/
Question, does the software support multiple screens?
Ex. multiple tty2tft, or perhaps an tty2oled and a tty2pico at the same time?
Not in it's current state, but could be easily extended to.
Good to know! I suppose I could have looked at the code a bit more before asking
You could, but your question was perfectly fine
Pointedly, many thanks to you as well, RealLarry.
Great work. Enabling us all make our setups that much more enjoyable!
You're welcome, but nothing to thank for. We're doing our best to get the most exciting experience (for all of us).
I'l speak to @venice if he is interested in my changes that I have already made by defining an array of devices.
Re: Round OLED Help (tty2pico)
Posted: Sun Feb 19, 2023 9:35 am
by CartoonDonkey
I will test your script a bit later today.
Man I hope the RoundyPi is somehow enabled to work with tty2oled. It's such a gorgeous little color unit.
If it works I have plans to make a custom 3d printed lid for the left side of my self designed 3d mister wedge case:
Man I hope the RoundyPi is somehow enabled to work with tty2oled. It's such a gorgeous little color unit.
Problem here would be that tty2oled has to be in non-USB mode (an ESP device with all pictures on a SD card) as no data except the picture name is send.
Re: Round OLED Help (tty2pico)
Posted: Mon Mar 06, 2023 7:13 pm
by time-lord
Was anyone able to build it from source?
I had no luck, even with fresh PlatformIO, im on Linux and wanted to try it with the combined RP2040 + round LCD module from Waveshare, the one @Missus mentioned... ^^
The Pins should be:
clk = Pin 10
mosi = Pin 11
rst = Pin 12
dc = Pin 8
cs = Pin 9
bl = Pin 25
for the Waveshare "RP2040 MCU Board, With 1.28inch Round LCD", just in case someone got an build environment that works without throwing strange fatal errors on the actual version of the code.