Skip to content

Commit c9dc851

Browse files
authored
Rephrase bus speed cautions for clarity
1 parent a7ceb6e commit c9dc851

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

adafruit_mlx90614.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class MLX90614:
7575
"""Create an instance of the MLX90614 temperature sensor.
7676
7777
:param ~busio.I2C i2c_bus: The I2C bus the MLX90614 is connected to.
78-
frequency=100000 - this sensor does not
79-
respond to a 400000 i2c bus speed
78+
Do not use an I2C bus speed of 400kHz. The sensor only works
79+
at the default bus speed of 100kHz.
8080
:param int address: I2C device address. Defaults to :const:`0x5A`.
8181
8282
**Quickstart: Importing and using the MLX90614**

examples/mlx90614_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
import board
1616
import adafruit_mlx90614
1717

18-
# the mlx90614 must be run at 100k [normal speed]
19-
# the mlx90614 will not appear at the 400k speed
18+
# The MLX90614 only works at the default I2C bus speed of 100kHz.
19+
# A higher speed, such as 400kHz, will not work.
2020
i2c = board.I2C()
2121
mlx = adafruit_mlx90614.MLX90614(i2c)
2222

0 commit comments

Comments
 (0)