-
Notifications
You must be signed in to change notification settings - Fork 60
Add I2C support and various example fixes #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ated echotest to use new function
… add i2c versions of in_waiting/readline
Looks like you are wanting to not make this a breaking change? Otherwise could maybe refactor the classes more like other multi-interface drivers do. Current (UART only): GPS Refactor (breaking) GPS
GPS_UART(GPS)
GPS_I2C(GPS) |
correct, also because theres one standard UART interface, but there may be variable I2C/SPI interfaces (they aren't standardized). default |
ah, ok. should |
could rename it GPS_GTopI2C ? |
yah. something like that. i don't know the specifics enough to suggest any better. just concerned about implying that there is a standard I2C interface by having just sounds like GTop is the specific interface here? |
yeah its used for GTop modules 🤷♂ :) |
@caternuson finally had time to do this! please check it out - tested :) |
Yep. Looks good. Just a simple naming convention, but seems like a good idea. |
yaaayyy! doing SPI next |
Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.5.0 from 3.4.1: > Merge pull request adafruit/Adafruit_CircuitPython_GPS#36 from ladyada/master > Merge pull request adafruit/Adafruit_CircuitPython_GPS#35 from adafruit/dherrada-patch-1
Added GPS_I2C for interfacing with simple I2C implementations of GPS modules
Updated all examples to have UART, pyserial and I2C definitions
Fixed weird huge timeouts in UART examples
Removed 'computer' datalogging demo and merged it with the non-computer datalogging demo
Fixed datalogging demo which was missing some imports. Tested on Windows+I2C and Feather M4
Fixed RTC demo, was based on old circuitpython, tested with I2C GPS
Parser now accepts $GN NMEA's used in more modern modules