Hi,
wrapping this library. rBigNumbers compiles without error, but when using
receiving error
"can not cast type:{type=liquidcrystal_i2c,rank=0,remoteobject=true} to: {type=liquidcrystal_i2c,rank=0,remoteobject=true}"
Seems that doing following in rBigNumbers.h & cpp is not correct:
Any help appreciated?
Libary & Example code attached.
wrapping this library. rBigNumbers compiles without error, but when using
B4X:
bn.Initialize(lcdbn)
"can not cast type:{type=liquidcrystal_i2c,rank=0,remoteobject=true} to: {type=liquidcrystal_i2c,rank=0,remoteobject=true}"
Seems that doing following in rBigNumbers.h & cpp is not correct:
B4X:
void Initialize(LiquidCrystal_I2C* lcd);
B4X:
void B4RBigNumbers_I2C::Initialize(LiquidCrystal_I2C* lcd) {
bn = new (be) BigNumbers(&lcd);
bn->begin();
}
Any help appreciated?
Libary & Example code attached.