Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

高機能なGPSモジュールZED F9Pをつかう その3:RasPiでつかうときはボーレートを自力で変更する

RaspberryPiで使用する場合、i2cのボーレートを上げないといけません

qwiic.QwiicUbloxGps().address
============================================================================
 NOTE:
 For and of the ublox gps units to work on the Raspberry Pi, I2C clock stretching
 must be enabled.
 The following line must be added to the file /boot/config.txt
    dtparam=i2c_arm_baudrate=10000
 For more information, see the note at:
          https://github.com/sparkfun/qwiic_ublox_gps_py
============================================================================
66

というわけで、

余談

どういうわけかI2Cチャンネルが 'Qwiic 4m Distance Sensor (ToF)'と同じ0x42を使っておりブッキングをおこしています……