Skip to content

Commit b907ba2

Browse files
Update Notecard API from upstream schema changes (08d98418586d607f11136642ba4afd14474e398b) (#158)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2d99e51 commit b907ba2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

notecard/card.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def carrier(card, mode=None):
213213
214214
Args:
215215
card (Notecard): The current Notecard object.
216-
mode (str): The `AUXCHARGING` mode. Set to `"charging"` to tell the Notecard that `AUXCHARGING` is connected to a Notecarrier that supports charging on `AUXCHARGING`. Set to `"-"` or `"off"` to turn off the `AUXCHARGING` detection.
216+
mode (str): The `AUX_CHARGING` mode.
217217
218218
Returns:
219219
dict: The result of the Notecard request.
@@ -305,7 +305,7 @@ def io(card, i2c=None, mode=None):
305305
306306
Args:
307307
card (Notecard): The current Notecard object.
308-
i2c (int): The alternate address to use for I2C communication. Pass `-1` to reset to the default address
308+
i2c (int): The alternate address to use for I2C communication.
309309
mode (str): Used to control the Notecard's IO behavior, including USB port, LED, I2C master, NTN fallback.
310310
311311
Returns:
@@ -725,7 +725,7 @@ def trace(card, mode=None):
725725
726726
Args:
727727
card (Notecard): The current Notecard object.
728-
mode (str): Set to `"on"` to enable trace mode on a Notecard, or `"off"` to disable it.
728+
mode (str): The mode parameter.
729729
730730
Returns:
731731
dict: The result of the Notecard request.

0 commit comments

Comments
 (0)