Ok, was a bit of a shot in the dark. I have the new Unicorn Hat Mini, and a Unicorn Hat HD. I don’t have the Hat though. I remembered a thread complaining about having to run as sudo with the Hat. Is your hat firmly pressed down / attached to the GPIO?
I’ve looked into a bunch of things, and am a little embarrassed to say the issue was that I have a Unicorn Hat Mini, not a pHAT. The Unicorn Hat Mini runs off a different library to the other unicorn hats, accessible here. https://github.com/pimoroni/unicornhatmini-python
That happens, no harm done though, other than some time wasted and some head scratching.
Yeah, the pinouts are different, and they way they work is just enough different that you have to edit the examples to get them to work on a different Unicorn than what they were written for. Or run scroll hat code on a Unicorn etc.