M5PaperS3 Widgets.setRotation(3) crashes system (disconnect from usb and reboot)
-
Hello
configuration: M5PaperS3 , UIflow2 V2.3.3 (micropython 1.15)
using rotation(3) , ie:
Widgets.setBrightness(150)
Widgets.fillScreen(0x000000)
Widgets.setRotation(3)
Display.drawJpg("my_file.jpg", 0, 0, 0, 0, 0, 0, 1, 1)CRASHES the M5PaperS3 (disconnect from usb and reboot)
I tried with other file and always get a crash with rotation 3NOTE that all other rotations (0,1,2) works perfectly, INCLUDING with "my_file.jpg"
all the file I used have been resize to the M5PaperS3 screen size.
there is definitely something bad with rotation 3
Please help, having the 4 rotation is critical for my project
Thanks in advance
Pascal Boudalier
-
Hello @pabou
granted I do not have your particular
my_file.jpg, but when I run below code my M5PaperS3 does not crash.Widgets.setBrightness(150) Widgets.fillScreen(0x000000) Widgets.setRotation(3) Display.drawJpg("/flash/res/img/uiflow.jpg", 0, 0, 0, 0, 0, 0, 1, 1)Thanks
Felix -
@felmue
Thanks Felix.All my files are 960x540.
Displaying only 959x 539 for rot 3 fixed the crash problem (do not ask me why)Displaying the same image 960x540 with rot 1 is OK.
good enough for me!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login