From 412c3192cb7263d90e3008df4d8baceae125f0de Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Fri, 1 Mar 2019 12:29:45 +0100 Subject: [PATCH] Add source note --- .gitignore | 1 + mdc.py | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..539da74 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.py[co] diff --git a/mdc.py b/mdc.py index 689ee8b..ead873b 100644 --- a/mdc.py +++ b/mdc.py @@ -4,6 +4,10 @@ BROADCAST = 0xfe class MDC(serial.Serial): + """Samsung 400MX MDC remote control client + + Docs: https://www.samsung.com/us/pdf/MDC_400DXn460DXn570DXn700DXn820DXn460TXn_v1.pdf + """ def command(self, command, data=[], target_id=BROADCAST): if target_id == 0: target_id = 0xff