Skip to content

Commit 4a85e89

Browse files
Update Notecard API from upstream schema changes (8e6e3917c92b2404904c6797f07f27984fdc5d4e) (#128)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 90e32d0 commit 4a85e89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notecard/card.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,11 @@ def io(card, i2c=None, mode=None):
321321

322322
@validate_card_object
323323
def led(card, mode=None, off=None, on=None):
324-
"""Use along with the card.aux API to turn connected LEDs on/off or to manage a single connected NeoPixel. If using monochromatic LEDs, they must be wired according to the instructions provided in the guide on Using Monitor Mode. Please note that the use of monochromatic LEDs is not supported by Notecard for LoRa. If using NeoPixels, the NeoPixel (or strip of NeoPixels) must be wired according to the instructions provided in the guide on Using Neo-Monitor Mode.
324+
"""Use along with the card.aux API to turn connected LEDs on/off, to enable a specific color on an RGB LED, or to manage a single connected NeoPixel. If using monochromatic LEDs, they must be wired according to the instructions provided in the guide on Using Monitor Mode. Please note that the use of monochromatic LEDs is not supported by Notecard for LoRa. If using an RGB LED, it must be wired according to the instructions provided in the guide on Using RGB-Monitor Mode. Please note that the use of RGB LEDs is not supported by Notecard for LoRa. If using NeoPixels, the NeoPixel (or strip of NeoPixels) must be wired according to the instructions provided in the guide on Using Neo-Monitor Mode.
325325
326326
Args:
327327
card (Notecard): The current Notecard object.
328-
mode (str): Used to specify the color of the LED to turn on or off. Note: Notecard LoRa does not support monochromatic LED modes, only NeoPixels.
328+
mode (str): Used to specify the color of the LED to turn on or off. Note: Notecard LoRa does not support monochromatic LED or RGB modes, only NeoPixels.
329329
off (bool): Set to `true` to turn the specified LED or NeoPixel off.
330330
on (bool): Set to `true` to turn the specified LED or NeoPixel on.
331331

0 commit comments

Comments
 (0)