|
21 | 21 |
|
22 | 22 | * Adafruit CircuitPython firmware for the supported boards:
|
23 | 23 | https://github.com/adafruit/circuitpython/releases
|
24 |
| -
|
25 |
| -# * Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice |
26 |
| -# * Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register |
| 24 | +* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice |
| 25 | +* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register |
27 | 26 | """
|
28 | 27 |
|
29 | 28 | from micropython import const
|
@@ -133,8 +132,13 @@ class SpinupTime(CV):
|
133 | 132 |
|
134 | 133 |
|
135 | 134 | class EMC2101: # pylint: disable=too-many-instance-attributes
|
136 |
| - """Driver for the EMC2101 Fan Controller. |
| 135 | + """Basic driver for the EMC2101 Fan Controller. |
| 136 | +
|
137 | 137 | :param ~busio.I2C i2c_bus: The I2C bus the EMC is connected to.
|
| 138 | +
|
| 139 | + If you need control over PWM frequency and the controller's built in temperature/speed |
| 140 | + look-up table (LUT), you will need :class:`emc2101_lut.EMC2101_LUT` which extends this |
| 141 | + class to add those features, at the cost of increased memory usage. |
138 | 142 | """
|
139 | 143 |
|
140 | 144 | _part_id = ROUnaryStruct(_REG_PARTID, "<B")
|
@@ -238,7 +242,12 @@ def manual_fan_speed(self, fan_speed):
|
238 | 242 | @property
|
239 | 243 | def lut_enabled(self):
|
240 | 244 | """Enable or disable the internal look up table used to map a given temperature
|
241 |
| - to a fan speed. When the LUT is disabled fan speed can be changed with `manual_fan_speed`""" |
| 245 | + to a fan speed. |
| 246 | +
|
| 247 | + When the LUT is disabled (the default), fan speed can be changed with `manual_fan_speed`. |
| 248 | + To actually set this to True and modify the LUT, you need to use the extended version of |
| 249 | + this driver, :class:`emc2101_lut.EMC2101_LUT` |
| 250 | + """ |
242 | 251 | return not self._fan_lut_prog
|
243 | 252 |
|
244 | 253 | @property
|
|
0 commit comments