I am new to RPi.
I placed the sense hat on an RPi 3B+ and get a nice rainbow display on the LED.
When I run the snake example, I get the message "Error: cannot open framebuffer device."
I run in debug using Code::Blocks, and I see that the code apparently finds the joystick. So the frame buffer is not the first thing I checked.
My RPi is nearly virgin. I have installed Code::Blocks and the sense hat. Raspian is up to date. I enabled VNC, SSN, SPI and I2C.
I am working headless via a VNC window in W10.
Is there an incompatibility between a RPi 3B+ and the sense hat? I am seeing that it is compatible with RPi 3B (no +).
If not, would somebody offer a suggestion for getting snake to get past this error?
Thanks.