Open taktran opened 10 months ago
I can reproduce the problem.
It is strange.
If I build for a pico/lilygo_t_display it runs correctly. That board has the same display.
The pico/pico_display_2 is a larger display, but also displays correctly.
I took the RPi Pico board off of the pico display and was able to program it and see that it connects to xsbug and draws regularly:
I then took the programmed board and reconnected it to the pico display and the screen animated as expected.
I was thereafter able to program other graphics apps to the pico display.
Can you please try to program the board when it is removed from the pico display and see if it connects to xsbug (like I did above)?
If it does connect, can you reassemble the pico display board and see if it displays correctly?
I tried it with the commodetto/fireworks example, and as suggested ran it without the pico display first, then put the pico display on. The onboard led, buttons and log inside xsbug seems to work but the screen still does not.
Any other ideas?
Build environment: macOS (Apple M1 Max) Moddable SDK version: 4.3.4 Target device:
pico/pico_display
Description
I'm trying to run the examples on the pico display, and the rgb led (using
pins/pwm
inpins/tricolor-led
example) and the buttons (usingpins/digital
inpins/button
example) work, but when I try any of thecommodetto
orpiu
examples, it builds, but doesn't show on the pico display. It does work on thesimulator/pico_display
though.Steps to Reproduce
cd $MODDABLE/examples/piu/balls
(same forpiu/images
,piu/backlight
,piu/list
,piu/qrcode
, andcommodetto/text
)Build and install the app using this build command:
mcconfig -d -m -p pico/pico_display
No error displays in the build It loads something on the pico:Expected behavior
Display is shown on the pico display
Images
After building, nothing is shown on the screen:
The RGB LED does show some light (even though the example doesn't tell it to), but nothing on the display (not even a back light)
Works on the simulator
Other information
I've tested the pico display using the standard micropython examples and it works as expected, but I'm hoping I can use moddable instead since I'm much more familiar with JavaScript 🤞🏼
Also, I couldn't get
arm-none-eabi-gcc
compiling on my M1 machine, so had to follow the following steps to install:From https://github.com/raspberrypi/pico-feedback/issues/355#issuecomment-1754808749. Since the RGB and buttons work, I'm assuming the build tools are ok.