GPS driver (#55)

* u-blox GPS driver for both I2C and UART
This commit is contained in:
Anthony Elder
2019-05-23 14:29:29 +01:00
committed by Ron Evans
parent c259da1f17
commit a24657d1eb
7 changed files with 386 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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
)