So lately I’ve been trying to display an image on a v5 brain using an SD card to no avail. I’ve looked at many different forum posts and tried everything from converting files to optional declaration methods yet nothing seems to work. The screen just remains blank. Can anyone help me?
It’s pretty straightforward.
post your code and perhaps an example image you are trying to display.
You need to be using VEXcode, it’s not supported by VCS. or are you using something else like PROS ?
I am using VEXcode and this the code I’m using for testing:
#include "vex.h"
using namespace vex;
int main() {
Brain.Screen.drawImageFromFile( "cube2.png", 0, 0 );
}
I have also tried it with .bmp and I’ve tried resizing to a smaller size
works ok here.
is vexos all up to date ? (1.0.9)
is the SD card formatted correctly ? (fat32)
It’s all up to date, but I don’t know how to format the SD
you would format on your Mac or PC as any other SD card, just make sure it’s fat32 format not something else.
So the only options it’s giving me for formatting are NTFS and exFAT (which is what it is now)
well, neither of those will work, are you on windows 10 ?
My favorite “force any SD card to format as FAT32” utility…
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.