Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Prev Previous commit
Next Next commit
Remove duplicate define
  • Loading branch information
nseidle committed Oct 26, 2020
commit 03a91e5f8fab56e6a961b6fb9db29d4c2802eda5
2 changes: 0 additions & 2 deletions examples/ZED-F9P/Example6_GetVal/Example6_GetVal.ino
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ void setup()
myGPS.enableDebugging(); //Enable debug messages over Serial (default)
//myGPS.enableDebugging(SerialUSB); //Enable debug messages over Serial USB

#define UBLOX_CFG_I2C_ADDRESS 0x20510001

uint8_t currentI2Caddress = myGPS.getVal8(UBLOX_CFG_I2C_ADDRESS);
Serial.print("Current I2C address (should be 0x42): 0x");
Serial.println(currentI2Caddress >> 1, HEX); //Ublox module returns a shifted 8-bit address. Make it 7-bit unshifted.
Expand Down