B4R Question Adafruit MCP4725 how to use it on B4R ?

AngeloGomes

New Member
Hi Guys.
Firstly, I am sorry, but I got very excited when I discovered B4R, because I am VB fan, but only now I amentering into the Arduino world for educational purposes.

Well, I´ve read the Begginers guide two times as well as, I have searched this forum for instructions on how to use external libraries on B4R.

In my case, I have a uno board and this Adafruit DAC module. I downloaded its arduino library from https://github.com/adafruit/Adafruit_MCP4725 From there, I got a zip file, but without the xml file, that I think B4R needs.

So my question can be thought as a more general question:

How to use (or convert) an external library in B4R ?
 

rbghongade

Active Member
Licensed User
Longtime User
Just to add my two pence! We can use inline c for the job, if B4R library is not available.
 
Upvote 0

AngeloGomes

New Member
I've searched the forum and found people talking about wrapper.
I found this topic too

https://www.b4x.com/android/forum/threads/65718/#content

but it does not contain any plausible response, for why or why not this way.

It seems that a tutorial about how to create wrappers is missing.

Why wrapper instead to create a new library ?
What are the requirements to make a wrapper ?
What can/can't be done with a wrapper ?
creating a wrapper.
using the wrapper

Maybe when the tutorial is available, we will have here more contributions for the b4r library.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…