Skip to content

Commit

Permalink
Merge 666e494 into 839b4ab
Browse files Browse the repository at this point in the history
  • Loading branch information
NANASHI0X74 committed Jun 18, 2018
2 parents 839b4ab + 666e494 commit caba832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enocean/communicators/serialcommunicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SerialCommunicator(Communicator):
''' Serial port communicator class for EnOcean radio '''
logger = logging.getLogger('enocean.communicators.SerialCommunicator')

def __init__(self, port='/dev/ttyAMA0', callback=None):
def __init__(self, port='/dev/serial0', callback=None):
super(SerialCommunicator, self).__init__(callback)
# Initialize serial port
self.__ser = serial.Serial(port, 57600, timeout=0.1)
Expand Down

0 comments on commit caba832

Please sign in to comment.