I am just a starter with the Climastick and have compiling problems.
Even the examples won’t Compile.
I get strange errors:
Arduino\libraries\ClimaStick-master\src\I2Cdev.cpp:64:14: warning: #warning Using current Arduino IDE with Wire library is functionally limiting. [-Wcpp]
#warning Using current Arduino IDE with Wire library is functionally limiting.
Arduino\libraries\ClimaStick-master\src\I2Cdev.cpp:276:75: note: candidates are:
In file included from d:\gebruikers\hennie\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\algorithm:62:0,
ArduinoData\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:240,
Arduino\libraries\ClimaStick-master\src\I2Cdev.h:77,
Arduino\libraries\ClimaStick-master\src\I2Cdev.cpp:46:
arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algo.h:4226:5: note: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare)
min(initializer_list<_Tp> __l, _Compare __comp)
arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algo.h:4226:5: note: template argument deduction/substitution failed:
Arduino\libraries\ClimaStick-master\src\I2Cdev.cpp:276:75: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘unsigned char’
for (uint8_t k = 0; k < length; k += min(length, BUFFER_LENGTH)) {