Hello,
I have this led panel https://www.adafruit.com/product/2279 connected to an Arduino Mega, and working well, in arduino's IDE.
It uses this 2 libraries:
#include <Adafruit_GFX.h> // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library
I want to use this panel with B4R. Looking at B4R forum I found Adafruit GFX. I think is the same. But I still need the other library RGBmatrixPanel.
I love VB,, and is far easier to program Arduino with B4R, is simple to use timers and everything else.
Is there a version of this lib for B4R? or is possible to include it via Native Code?
I saw somewhere in the forum it's possible to copy the library files to arduino libraries folder and use via Native Code. But I could not find this post again. I saw also that this approach is not ok for big libraries, it's better to write a wrapper. I still don't know to create wrappers.
I tried this, but something is going wrong.
Any help is welcome.
Thanks!
Edit: I found the post:
https://www.b4x.com/android/forum/threads/inline-c-c.65714/#content
I tried to include this way but something is missing.
I have this led panel https://www.adafruit.com/product/2279 connected to an Arduino Mega, and working well, in arduino's IDE.
It uses this 2 libraries:
#include <Adafruit_GFX.h> // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library
I want to use this panel with B4R. Looking at B4R forum I found Adafruit GFX. I think is the same. But I still need the other library RGBmatrixPanel.
I love VB,, and is far easier to program Arduino with B4R, is simple to use timers and everything else.
Is there a version of this lib for B4R? or is possible to include it via Native Code?
I saw somewhere in the forum it's possible to copy the library files to arduino libraries folder and use via Native Code. But I could not find this post again. I saw also that this approach is not ok for big libraries, it's better to write a wrapper. I still don't know to create wrappers.
I tried this, but something is going wrong.
Any help is welcome.
Thanks!
Edit: I found the post:
https://www.b4x.com/android/forum/threads/inline-c-c.65714/#content
I tried to include this way but something is missing.
Last edited: