budryerson / TFMini-Plus-I2C

Arduino library for the Benewake TFMini-Plus LiDAR distance sensor in I2C communication mode
26 stars 16 forks source link

Compile error on Teensy4 #27

Open JonasVorwerk opened 7 months ago

JonasVorwerk commented 7 months ago

/Users/../Documents/Arduino/libraries/TFMPI2C/src/TFMPI2C.cpp: In member function 'void TFMPI2C::recoverI2CBus()': /Users/../Documents/Arduino/libraries/TFMPI2C/src/TFMPI2C.cpp:377:24: error: 'PIN_WIRE1_SDA' was not declared in this scope; did you mean 'PIN_WIRE_SDA'? 377 | recoverI2CBus( PIN_WIRE1_SDA, PIN_WIRE1_SCL); | ^~~~~ | PIN_WIRE_SDA /Users/../Documents/Arduino/libraries/TFMPI2C/src/TFMPI2C.cpp:377:39: error: 'PIN_WIRE1_SCL' was not declared in this scope; did you mean 'PIN_WIRE_SCL'? 377 | recoverI2CBus( PIN_WIRE1_SDA, PIN_WIRE1_SCL); | ^~~~~ | PIN_WIRE_SCL