Skip to content

Commit

Permalink
Make variable name mor descriptive - we're talking to the whole bus n…
Browse files Browse the repository at this point in the history
…ot just a device.
  • Loading branch information
Geoff Lee committed Dec 1, 2017
1 parent d869130 commit f62328b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usmbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class SMBus(I2C):
import usmbus.SMBus
device = SMBus(1, pins=('G15','G10'), baudrate=100000)
device.read_byte_data(addr, register)
bus = SMBus(1, pins=('G15','G10'), baudrate=100000)
bus.read_byte_data(addr, register)
... etc
"""

Expand Down

0 comments on commit f62328b

Please sign in to comment.