C/C++ Question [SOLVED] MultiFunctionShield Lib: How to wrap UserInterrupt pointer

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi,

working to wrap the Arduino MultiFunctionShield Library. The lib makes use of an internal timer handling interrupts. One of the first public voids in multifunctshield.h is an interrupt pointer, which is used by f.e. blinking functions.
B4X:
void (*userInterrupt)() = NULL;
How to wrap a void like this?

EDIT 20170209
[SOLVED] By using the object Timer1 and MFS as defined in the library h files.
The wrapped library is posted here.
 
Last edited:
Top