We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836ca4a commit 6690924Copy full SHA for 6690924
2 files changed
tests/test_spi.py
@@ -30,7 +30,8 @@
30
CS = "LA3"
31
SPIMaster._primary_prescaler = PPRE = 0
32
SPIMaster._secondary_prescaler = SPRE = 0
33
-PWM_FREQUENCY = 1000
+# Static value 100kHz used because instance property '_frequency' cannot be accessed on the class.
34
+PWM_FREQUENCY = 100000.0
35
MICROSECONDS = 1e-6
36
RELTOL = 0.05
37
# Number of expected logic level changes.
tests/test_uart.py
@@ -16,7 +16,8 @@
16
WRITE_DATA = 0x55
17
TXD2 = "LA1"
18
RXD2 = "SQ1"
19
+# Static value 500kHz (half of default 1MHz baudrate) used as instance property cannot be accessed here.
20
+PWM_FREQUENCY = 500000.0
21
22
23
0 commit comments