Hello,
i used the example LoRaWAN ONBoardGPS_Air530 and want to use wire.h to read out a sensor.
With older Versions the command Wire.requestFrom(STS35_I2C_ADDRESS, 3,true); worked fine , but in CUBECell 1.5.0 it throws many errors.
In file included from C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\libraries\DISPLAY\src/HT_SSD1306Wire.h:5:0,
from C:\Users\schul\Downloads\Programm_fertig\Programm_fertig.ino:8:
C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0/cores/asr650x/Wire/Wire.h: In function ‘void temp()’:
C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0/cores/asr650x/Wire/Wire.h:116:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)
uint8_t requestFrom(int address, int size, int sendStop);
^
C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0/cores/asr650x/Wire/Wire.h:111:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint16_t, uint8_t, bool)
uint8_t requestFrom(uint16_t address, uint8_t size, bool sendStop);
^
C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0/cores/asr650x/Wire/Wire.h:116:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)
uint8_t requestFrom(int address, int size, int sendStop);
^
C:\Users\schul\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0/cores/asr650x/Wire/Wire.h:111:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint16_t, uint8_t, bool)
uint8_t requestFrom(uint16_t address, uint8_t size, bool sendStop);
^
c:/users/schul/appdata/local/arduino15/packages/cubecell/tools/gcc-arm-none-eabi/8-2019-q3/bin/…/lib/gcc/arm-none-eabi/5.4.1/…/…/…/…/arm-none-eabi/bin/ld.exe: C:\Users\schul\AppData\Local\Temp\arduino-sketch-A8E5EA7F6B1EE333B0D2FF059FD3EC38/Programm_fertig.ino.elf section .data' will not fit in region
rom’
c:/users/schul/appdata/local/arduino15/packages/cubecell/tools/gcc-arm-none-eabi/8-2019-q3/bin/…/lib/gcc/arm-none-eabi/5.4.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region `rom’ overflowed by 0 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1