File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -838,13 +838,17 @@ These tests allow NMEA parsing to be verified in the absence of GPS hardware:
838
838
839
839
* ` astests_pyb.py ` Test with synthetic data on UART. GPS hardware replaced by
840
840
a loopback on UART 4. Requires a Pyboard.
841
- * ` astests.py ` Test with synthetic data. Run on CPython 3.8+ or MicroPython.
842
- Run as follows:
841
+ * ` astests.py ` Test with synthetic data. Run on a PC under CPython 3.8+ or
842
+ MicroPython. Run from the ` v3 ` directory at the REPL as follows:
843
843
844
844
``` python
845
845
from as_drivers.as_GPS.astests import run_tests
846
846
run_tests()
847
847
```
848
+ or at the command line:
849
+ ``` bash
850
+ $ micropython -m as_drivers.as_GPS.astests
851
+ ```
848
852
849
853
###### [ Top] ( ./GPS.md#1-as_gps )
850
854
You can’t perform that action at this time.
0 commit comments