Skip to content

Commit aa6c67d

Browse files
chrisrukgrega
authored andcommitted
Increase interval for sensor while testing
Avoids error that occurs when handling large amount of sensor data. In future, might be interesting to see if we can support faster UART baud rate.
1 parent 78c0c69 commit aa6c67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_caching(self):
3434
"""Test to make sure we're not reading cached data"""
3535
color = ColorSensor('A')
3636
color.avg_reads = 1
37-
color.interval = 1
37+
color.interval = 10
3838

3939
for _ in range(100):
4040
color.mode(2)

0 commit comments

Comments
 (0)