Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arduinoGPIO/adc.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, arduinoControl: ArduinoControl, rom: bytearray, pin, vcc=5):
machine.ADC compatible object that can be used in any application/library.
This class does not need an Arduino object translating between the ArduinoControl object.
:param arduinoControl: ArduinoControl object
:param rom: onewire slave id, can be str as it will be converted
:param rom: onewire subordinate id, can be str as it will be converted
:param pin: pin number
:param vcc: Voltage the arduino is running at to calculate adc voltage
"""
Expand Down
2 changes: 1 addition & 1 deletion arduinoGPIO/arduinoControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def analogPins(self, rom: bytearray) -> int:
def Pin(self, rom: bytearray, pin: int, *args, **kwargs):
"""
Returns a Pin object to control one digital pin on the device matching ROM
:param rom: slave id, bytearray or string
:param rom: subordinate id, bytearray or string
:param pin: pin number
:param args:
:param kwargs:
Expand Down