Closed B1tb0t closed 4 years ago
I’m not sure how that would work, and it’s not a trivial project. Is there an APA102 LED library for Esprino?
I found no full libarary for APA102. There is some code to controll APA102 led strips with SPI. I am currently trying to include smartmatrix in the espruino firmware (https://www.espruino.com/Extending+Espruino+1). But it needs the arduino.h file to work, but I found no way to include it yet.
Maybe instead of including Arduino.h, remove the #include and see what definitions are missing and add them directly instead. It might just be a few definitions I use from Arduino, I’m not sure
Ok I removed the Arduino.h including and build again. Now there are a lot of small errors:
s it a version problem ?
Arduino.h probably includes a other required header files, like inttypes.h (not sure if that's the actual name). I can't tell you exactly how to fix this problem, but I'd start by finding Arduino.h in an Arduino install and adding it to your project, or including what's necessary from it.
I dont know mutch about led matrixes, but is it possible to write a matrix driver for the espruino graphics library (https://www.espruino.com/Graphics) ?
It might be possible, but not without a lot of work, which I'm not going to be doing myself. I'm going to close this issue.
Hi, I realy love the smartmatrix library for my Esp32. My latest project is based on Espruino, but I want to use smartmatrix with it (there is no libaray for Hub75 led matrix yet). Is it possible to adapt this library to Espruino?
Jonas