23218X
February 18, 2025, 3:16pm
1
I have a file called BRAIN_IMAGE.png in the sd card of my Vex V5 Brain
However when I use this line of code to display it:
brain.screen.draw_image_from_file('BRAIN_IMAGE.png', 0, 0)
It doesn’t display it and there is no error.
Could someone suggest why this might be?
Thanks
56860A
February 18, 2025, 9:12pm
2
SuhJae made a converter to make the image uploadable directly through the project file. I suggest using that.
Hey fellow Vex enthusiasts,
I’m thrilled to share with you all a project born out of necessity and innovation. Like many of you, I’ve faced the frustration of wanting to personalize my robot with custom images on the V5 Brain’s display, only to be hindered by the lack of a micro SD card. This challenge inspired me to create a solution that resolves this issue.
I proudly present to you a free open-source web app that generates C++ code for displaying images directly on your Vex V5 Brain’s scree…
23218X
February 18, 2025, 9:42pm
3
Thats is only for c++. I am using python. Also, their solution makes the project file much larger for no reason since the sd card should work since I have one.
Don’t use uppercase.
rename the image and save to the SD card as brain_image.png
brain.screen.draw_image_from_file('brain_image.png',0,0)
No idea why, probably some limitation of the embedded file system.
2 Likes
23218X
February 19, 2025, 6:19am
5
Thanks for you help. I thought it would be something odd lile that