Hello dear all
I'm working on a project with the following parts:
- Arduino uno(Beetle BLE)
- BMI160 Dfrobot
- MAXREFDES117
- LM35 Dfrobot
Now I managed to get all sensors working with their sample programs however once I tried to put the sketches toghete I always face this error:
Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Uno"
C:\Users\Chmasch2\AppData\Local\Temp\ccMi9DFf.ltrans0.ltrans.o: In function `i2c_write':
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_wait_scl_high'
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_wait_scl_high'
sketch/SoftI2CMaster.h:458: undefined reference to `ass_i2c_delay_half'
C:\Users\Chmasch2\AppData\Local\Temp\ccMi9DFf.ltrans0.ltrans.o: In function `i2c_start(unsigned char) [clone .constprop.18]':
sketch/SoftI2CMaster.h:309: undefined reference to `ass_i2c_wait_scl_high'
sketch/SoftI2CMaster.h:309: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:309: undefined reference to `ass_i2c_write'
C:\Users\Chmasch2\AppData\Local\Temp\ccMi9DFf.ltrans0.ltrans.o: In function `ass_i2c_stop':
sketch/SoftI2CMaster.h:382: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:382: undefined reference to `ass_i2c_delay_half'
sketch/SoftI2CMaster.h:382: undefined reference to `ass_i2c_wait_scl_high'
sketch/SoftI2CMaster.h:382: undefined reference to `ass_i2c_delay_half'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I would be very thankfull if someone could help me. Attached you find a zip file with my project files and what I have done for now.
cheers,
Manuel
RD117_ARDUINO.zip (30.6 KB)