File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ target platform and run the appropriate set of tests for that platform. For exa
13
13
14
14
That will run tests on the ` /dev/ttyACM0 ` serial port. You can also use shortcut
15
15
device names like ` a<n> ` for ` /dev/ttyACM<n> ` and ` c<n> ` for ` COM<n> ` . Use
16
- ` ./run-tests.py --help ` to see all of the device possibilites , and other options.
16
+ ` ./run-tests.py --help ` to see all of the device possibilities , and other options.
17
17
18
18
There are three kinds of tests:
19
19
Original file line number Diff line number Diff line change 1
- # Test machine.PWM, frequncy and duty cycle (using machine.time_pulse_us).
1
+ # Test machine.PWM, frequency and duty cycle (using machine.time_pulse_us).
2
2
#
3
3
# IMPORTANT: This test requires hardware connections: the PWM-output and pulse-input
4
4
# pins must be wired together (see the variable `pwm_pulse_pins`).
Original file line number Diff line number Diff line change 4
4
5
5
nvs = NVS ("mp-test" )
6
6
7
- # test setting and gettin an integer kv
7
+ # test setting and getting an integer kv
8
8
nvs .set_i32 ("key1" , 1234 )
9
9
print (nvs .get_i32 ("key1" ))
10
10
nvs .set_i32 ("key2" , - 503 )
Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ def run_one_test(test_file):
848
848
test_file_abspath = os .path .abspath (test_file ).replace ("\\ " , "/" )
849
849
850
850
if args .filters :
851
- # Default verdict is the opposit of the first action
851
+ # Default verdict is the opposite of the first action
852
852
verdict = "include" if args .filters [0 ][0 ] == "exclude" else "exclude"
853
853
for action , pat in args .filters :
854
854
if pat .search (test_file ):
You can’t perform that action at this time.
0 commit comments