I’ve had my Sense HAT working before, then I removed it from the Pi a few months ago to use the Pi for something else. Now I’ve got a problem getting the Sense HAT to work.
When I power up, all the LEDs came on in the rainbow pattern. But when I try the simplest Python scripts (which used to work OK before) I either get a run-time error 'IMU Initialisation failed', or nothing happens, e.g. when trying to light up the LEDs.
I've tried re-installing the sense-HAT software and it made no difference – same result. I also took the HAT off and put it back on again but that didn’t help either. It just seems as if the Pi can't communicate with the HAT.
Before I give up, and/or buy another sense HAT, is there any diagnostic software I can run, or anything else I can try, to make it work?
