You can use inline c/c++ code.
Thank you for your feedback. It would be easier to dump B4R and go with straight C.You can use inline c/c++ code.
See this Tutorial: https://www.b4x.com/android/forum/threads/inline-c-c.65714/
Search the forum for more inline c code examples how to handle variables
Try to understand this example:Thank you for your feedback. It would be easier to dump B4R and go with straight C.
Thus leading to the rWire Master I create, clashing with other I2C masters created by libraries. And so I either need the library wrapped or I must manually communicate with all other I2C devices using my own rWire code.If it works like the hmc5883 then you have the solution here https://www.b4x.com/android/forum/t...nts-mpu-6050-and-magnetometer-hmc5883l.65917/