Skip to content

Commit

Permalink
Merge pull request #17 from brentru/remove-ch-print
Browse files Browse the repository at this point in the history
remove printing of MSB, LSB, MID when a single channel is set
  • Loading branch information
brentru committed Jan 31, 2019
2 parents 435a482 + 83806d6 commit ab452f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions adafruit_tinylora/adafruit_tinylora.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,10 @@ def set_datarate(self, datarate):
raise KeyError("Invalid or Unsupported Datarate.")

def set_channel(self, channel):
"""Returns the RFM Channel (if single-channel)
"""Sets the RFM Channel (if single-channel)
:param int channel: Transmit Channel (0 through 7).
"""
self._rfm_msb, self._rfm_mid, self._rfm_lsb = self._frequencies[channel]
print(self._rfm_msb)
print(self._rfm_mid)
print(self._rfm_lsb)

def _read_into(self, address, buf, length=None):
"""Read a number of bytes from the specified address into the
Expand Down

0 comments on commit ab452f9

Please sign in to comment.