Mercurial > ~darius > hgwebdir.cgi > epro
diff epro.py @ 13:4450cf739263
Add link to protocol document.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 06 Dec 2021 11:25:51 +1030 |
parents | 0a571da65068 |
children | 60ead9b5fc1b |
line wrap: on
line diff
--- a/epro.py Mon Dec 06 11:25:41 2021 +1030 +++ b/epro.py Mon Dec 06 11:25:51 2021 +1030 @@ -24,6 +24,8 @@ # # 2400bps 8E1 # s = serial.Serial('/dev/cu.usbserial-AM01Z7TZ', 2400, parity='E') +# +# Protocol document: https://www.enerdrive.com.au/wp-content/uploads/ePRO-communication-interface-spec-rev.02.pdf class Packet(object): MSGTYPE = -1