Unicorn hat access by /dev/fd1


#1

Hi,
it would be helpful to have the possibility to acced the leds by using /dev/fd1… like this is possible when
you are using sense hat.
This would be very helpful… is more like a feature request but maybe someone have this already running?

BR
ranpitime


#2

This is sort-of what unicornd does: https://github.com/pimoroni/unicorn-hat/tree/master/library_c/unicornd

From my last checks/updates of it, it still works but it uses a socket rather than a device node.

I’m guessing you’re looking for something that behaves more like a framebuffer device you can just blast pixel data at? It’s certainly possible, if not easy. I did it for the st7565: https://github.com/Gadgetoid/st7565/blob/master/main.c


#3

yes you are right, a framebuffer device is exacty what I need!
Adding this and deliver it with the examples would be great (for sensehat this is avialbale)