Skip to content

Discarding the master-slave vocabulary #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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