Adafruit's Mini GPS PA1010D Module works with this device driver, but requires 0x10 as the address, rather than 0x42.
This change allows the device to be initialised with whatever i2c address is needed, while maintaining backward compatibility.
Adds new constants to allow easy configuration of both the ublox device and the PA1010D.
This makes it possible to replace UART objects with dummy
implementations, for example. Or allows changing the `machine.UART` type
to `*machine.UART` without breaking compatibility.
* gps: buxfixes and refactoring of API to separate device from parser
Signed-off-by: deadprogram <ron@hybridgroup.com>
* gps: simplify time parser
Signed-off-by: deadprogram <ron@hybridgroup.com>
* gps: add support for RMC sentences
Signed-off-by: deadprogram <ron@hybridgroup.com>
* gps: small renaming to remove reduntant use of word GPS
Signed-off-by: deadprogram <ron@hybridgroup.com>