Closed MirdoxCom closed 4 years ago
and slave address must be 8-bits ... shift left
Hello,
Thank you for quick response and for the examples. Now it is compiling fine.
But I still have some issues. I've connected logic analyzer and it seems there are some problems with i2c starting and end conditions in most read/writes.
I guess I need to do some experiments with pullups.
Thank you
you need level shifter for pins - max is 1.8v
You are amazing. I've added level shifter and it is working now. I should better read the datasheet. :/
You helped me a lot and I don't want to bother you, but maybe you have also solution for this.
There seems to be some problem with single/double precision. e.g. when trying to print a float or during other operations.
undefined reference to `__aeabi_ui2d'
undefined reference to `__aeabi_dmul'
undefined reference to `__aeabi_ddiv'
undefined reference to `__aeabi_dsub'
undefined reference to `__aeabi_d2f'
undefined reference to `__aeabi_ui2d'
undefined reference to `__aeabi_dmul'
undefined reference to `__aeabi_ddiv'
undefined reference to `__aeabi_d2f'
I've seen that you are not using any floats in the examples. Is there any solution for this, or should I better use integers?
Thank you
yep, I know, math library is not added... you can add here https://github.com/Wiz-IO/Arduino-Quectel-BC66/blob/master/platform.txt#L51 as -lm -lgcc or use PlatformIO port for Quectel (tested) https://github.com/Wiz-IO/platform-quectel
btw: Arduino IDE for Quectel is old project... can be used for education I migrate "all" to PlatformIO: it's better and support more...
Thank you.
I will try.
Hello,
Thanks for a nice project. The demo was working perfectly.
I'm trying to compile a simple sketch with Wire library, but it fails with error: undefined reference to `Wire'.
The library seems to be compiled from correct directory:
The code:
The code is compiled successfully for Arduino Uno core.
Any idea what I'm doing wrong?
Thank you in advance.