Mercurial > ~darius > hgwebdir.cgi > epro
changeset 27:8b8efc343b0c
Update comment about wiring althoug it's clear as mud..
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 21 Dec 2021 15:05:45 +1030 |
parents | 3090d8bf4242 |
children | ea07d14075e6 |
files | epro.py |
diffstat | 1 files changed, 13 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/epro.py Tue Dec 21 15:05:32 2021 +1030 +++ b/epro.py Tue Dec 21 15:05:45 2021 +1030 @@ -8,19 +8,23 @@ # View facing ePro from the back # +---+ -# +-| |-| +# +-+ +-+ # | | # | | # +-------+ -# 1 ... 6 +# 6 ... 1 # -# RJ12 plug (Jaycar cable colours) -# 1 white temp out -# 2 black temp in -# 3 red GND -# 4 green TX TTL (5V) -# 5 yellow RX TTL (5V) -# 6 blue VCC (12V) +# Solid Twisted Signal Actual twisted +# Colors Colours Name Colours +#--------------------------------------------------------- +# 1 Blue Wht/Grn VCC (VBatt) Grn +# 2 Yellow Wht/Org RX TTL (5V) Org +# 3 Green Blu TX TTL (5V) Wht/Blu +# 4 Red Wht/Blu GND Blu +# 5 Black Org Temp in Wht/Org +# 6 White Grn Temp out Wht/Grn +# +# Note sure what happened with the wiring.. # # 2400bps 8E1 # s = serial.Serial('/dev/cu.usbserial-AM01Z7TZ', 2400, parity='E')