Ubercorn hat

Hello

I want use the Ubercorn hat to display messages but not full screen.

I have written a 16x16 array (where 1 is on and 0 off) of what I want to display but I am struggling to write the code to display it.

Any help to point me in the right direction would be great. I have seen the beating heart example, but I want a simpler version just showing my simple array, I can’t seem to figure it out.

Thanks

The function reference is here
http://docs.pimoroni.com/unicornhathd/

It looks like it uses a lot of the Unicorn hat functions / library.
I’m guessing you may want to use the set layout function
http://docs.pimoroni.com/unicornhathd/_modules/unicornhathd.html#set_layout
followed by a show command.
I don’t own one, just going by links I found from the product page. =)

If you trace back to the unicorn hat library the set_layout function is used to tell the system the size of the led array not the pattern.

I will try it but I believe it will throw up an error.

@gadgetoid can you help?

Thanks

Ok, I have a Unicorn Hat HD, and to be honest, I haven’t done much with it so far. Other than showing a few examples. I really need to blow the dust off of it and do something with it. Especially now that I’m stuck in the house with all kinds of time to kill.
I do find that function reference a bit confusing though, which part of why I haven’t done much.