Skip to content

Commit d6a9af8

Browse files
committed
Migrating from master/slave terminology
1 parent c7a6cc2 commit d6a9af8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arduinoGPIO/adc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, arduinoControl: ArduinoControl, rom: bytearray, pin, vcc=5):
2020
machine.ADC compatible object that can be used in any application/library.
2121
This class does not need an Arduino object translating between the ArduinoControl object.
2222
:param arduinoControl: ArduinoControl object
23-
:param rom: onewire slave id, can be str as it will be converted
23+
:param rom: onewire subordinate id, can be str as it will be converted
2424
:param pin: pin number
2525
:param vcc: Voltage the arduino is running at to calculate adc voltage
2626
"""

arduinoGPIO/arduinoControl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def analogPins(self, rom: bytearray) -> int:
243243
def Pin(self, rom: bytearray, pin: int, *args, **kwargs):
244244
"""
245245
Returns a Pin object to control one digital pin on the device matching ROM
246-
:param rom: slave id, bytearray or string
246+
:param rom: subordinate id, bytearray or string
247247
:param pin: pin number
248248
:param args:
249249
:param kwargs:

0 commit comments

Comments
 (0)