This is a Java port of the pimoroni/unicorn-hat project with some extra bits and pieces.
- No pyhton
Unicorn HAT Pi library
This is a Java port of the pimoroni/unicorn-hat project with some extra bits and pieces.
I have tried using parts of this repo for a project and I am receiving the following issue:
Starting program: /usr/bin/java -jar rpi-test.jar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x76422470 (LWP 7912)]
[New Thread 0x670f1470 (LWP 7913)]
[New Thread 0x67071470 (LWP 7914)]
[New Thread 0x67021470 (LWP 7915)]
[New Thread 0x66e5a470 (LWP 7916)]
[New Thread 0x66e0a470 (LWP 7917)]
[New Thread 0x66d8a470 (LWP 7918)]
[New Thread 0x66bff470 (LWP 7919)]
lib path: /home/limpygnome/java/libws2811.so
loaded
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x76422470 (LWP 7912)]
ws2811_led_set (channel=, lednum=0, color=16777215) at rpi_ws281x_wrap.c:213
213 channel->leds[lednum] = color;
With the following code:
AdafruitNeoPixel adafruitNeoPixel = new AdafruitNeoPixel(59, 18, 800000, 5, false, 255, 0);
adafruitNeoPixel.setBrightness(1.0);
for (int i = 0; i < 25; i++)
adafruitNeoPixel.setPixelColor(i, (short) 255, (short)255, (short)255);
adafruitNeoPixel.show();
adafruitNeoPixel.cleanup();
The issue is the call to ws2811_led_set for the very first pixel.
Any suggestions/ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.