mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-09 17:33:43 +00:00
a24657d1eb
* u-blox GPS driver for both I2C and UART
18 lines
224 B
Go
18 lines
224 B
Go
package gps
|
|
|
|
// Constants/addresses used for u-blox I2C.
|
|
|
|
// The I2C address which this device listens to.
|
|
const (
|
|
I2C_ADDRESS = 0x42
|
|
)
|
|
|
|
const (
|
|
BYTES_AVAIL_REG = 0xfd
|
|
DATA_STREAM_REG = 0xff
|
|
)
|
|
|
|
const (
|
|
bufferSize = 32
|
|
)
|