Commit graph

40 commits

Author SHA1 Message Date
James Carr
ccc0e463c2
Minor update to simpletest, it is geoid not geo ID. 2021-09-06 10:26:26 +01:00
James Carr
7d2a3a0556 Update documentation 2021-03-15 11:06:41 +00:00
James Carr
15415ca9ad Revert changes to get examples to pass pylint. This should be fixed when the pre-commit gets updated. 2021-03-02 07:20:19 +00:00
James Carr
ad6930a0a6 Add PyLint disable=duplicate-code to all examples. 2021-02-25 12:37:43 +00:00
James Carr
07d483899a Add PyLint disable=duplicate-code to time_source. 2021-02-25 12:25:33 +00:00
James Carr
23b2df8960 Modify the time_source example so that it doesn't trigger a PyLint duplicate warning. 2021-02-25 12:08:49 +00:00
James Carr
13b6cc98d9 Run pylint on satellitefix example. 2021-02-18 18:52:47 +00:00
James Carr
93a8430a09 Reformat with black. 2021-02-18 13:30:00 +00:00
James Carr
8786f1fc97 Enable GSA (DOP and active satellites) parsing
Enable GSV (satellites in view) parsing.

Rewrote the GSA and GSV parsing to handle each satellite system
(talker) separately.
- self.sats now uses keys based upon the talker and satellite
  number, eg. GL67 for GLONASS #67, GP7 for GPS #7
- When the end message of a GSV sequence is received, eg. 3 of 3,
  all previous records in self.sats matching that talker are removed
  before adding the updated ones.
- self.sat_prns stores the last satellite IDs that were used for a
  fix and returned in the most recent GSA sentence. They will be
  from only one Satellite system and should have a record in
  self.sats .
2021-02-12 20:10:47 +00:00
dherrada
376892e64c Ran pre-commit, added licenses 2021-01-14 13:35:19 -05:00
David Dyck
6b43dbc41e
Fix typo s/# Tuen on/# Turn on/ in examples/gps_simpletest.py 2020-12-23 05:34:24 -08:00
Kattni
ebd10f1ad6
Update board.I2C() 2020-04-29 16:54:36 -04:00
Kattni
026be6a6a0
Update board.I2C() 2020-04-29 16:54:14 -04:00
Kattni
1d628c323b
Fixing board.I2C() 2020-04-29 16:53:55 -04:00
dherrada
157fd77ca9 Changed busio.i2c to board.i2c 2020-03-27 14:05:46 -04:00
dherrada
7a53465688 Ran black, updated to pylint 2.x 2020-03-16 14:57:40 -04:00
Lady Ada
ae45c83442 change name to be specific about the i2c protocol 2019-11-16 11:55:07 -05:00
Lady Ada
442c506454 lints 2019-11-02 21:29:30 -04:00
Lady Ada
378743d706 update for latest RTC implementation, tested with i2c GPS 2019-11-02 21:23:43 -04:00
Lady Ada
07d48aa7a1 unify the datalogging example 2019-11-02 21:02:36 -04:00
Lady Ada
d8e1f34e2d better example of datalogging 2019-11-02 20:58:41 -04:00
Lady Ada
22dece5788 parse $GNxxx sentences, make timeouts more reasonable and in seconds, add i2c versions of in_waiting/readline 2019-11-02 20:37:55 -04:00
Lady Ada
c41931cafb add echotest for i2c 2019-11-02 19:36:46 -04:00
Lady Ada
6426714fce remove extraneous RX/TX defs 2019-11-02 17:41:49 -04:00
Lady Ada
86e10dcb42 add a function that will read raw data so we can use uart or i2c. updated echotest to use new function 2019-11-02 17:39:06 -04:00
dherrada
35ff3b0f12 Changed uart timeout to 30s instead of 3000ms since busio.UART now uses seconds 2019-05-07 13:24:32 -04:00
Melissa LeBlanc-Williams
e8b045a67a Fixed example copy/paste error 2019-02-20 22:24:29 -08:00
Kattni Rembor
8195d80204 Example name changes to fit convention. 2018-11-12 17:01:33 -05:00
Josh Gadeken
f42759e308
Correct import order in time_source.py example for Travis CI
Travis CI build failed due to Pylint:

> ************* Module time_source
> C:  8, 0: third party import "import busio" should be placed before "import rtc" (wrong-import-order)

https://travis-ci.org/adafruit/Adafruit_CircuitPython_GPS/builds/450615758
2018-11-05 23:08:23 -07:00
Pierrick C
8176e15e50 Updated example after pylint checks
*No space allowed around keyword argument assignment
*Multiple import
+ comments
2018-08-24 23:25:17 +02:00
Pierrick C
d05929b6a6 Add datetime property to use GPS object as time source for rtc.set_time_source() 2018-08-24 22:30:55 +02:00
ladyada
c62b31bc82 pylint fixes 2018-08-18 23:51:01 -04:00
ladyada
78c06fc047 encoding str works in both Cpython and circuitpython. fixed echotest 2018-08-18 23:42:06 -04:00
ladyada
ee5c403828 the feather examples is pretty involved, its easier to just make a new example for computer/linux logging 2018-08-18 21:19:22 -04:00
ladyada
72abd3d132 reasonable formatting on lat/long, convert all strings to bytes, add pyserial example 2018-08-18 21:14:29 -04:00
ladyada
a53559b5b9 add echo test (no fix needed) 2018-08-18 21:13:34 -04:00
sommersoft
8ebda7ac32 renamed simple example 2018-02-25 21:04:55 -06:00
mrmcwethy
26d3b6099d added pylint to project and updated .py files 2017-12-09 07:06:57 -07:00
Tony DiCola
5b1420aaae Add simple datalogging example. 2017-11-14 15:24:01 -08:00
Tony DiCola
885359f367 Initial commit. 2017-11-07 15:32:14 -08:00