From be274990aaf98af779ddb9fa6950c29fb684e186 Mon Sep 17 00:00:00 2001 From: shrkey Date: Mon, 15 Aug 2016 20:15:04 +0100 Subject: [PATCH] new test files --- escapetest.py => escapemotortest.py | 0 escapeservotest.py | 7 +++++++ 2 files changed, 7 insertions(+) rename escapetest.py => escapemotortest.py (100%) create mode 100644 escapeservotest.py diff --git a/escapetest.py b/escapemotortest.py similarity index 100% rename from escapetest.py rename to escapemotortest.py diff --git a/escapeservotest.py b/escapeservotest.py new file mode 100644 index 0000000..a350134 --- /dev/null +++ b/escapeservotest.py @@ -0,0 +1,7 @@ +import time +from dwescapeHAT import dw_PWMCONTROL, dw_PWM + +dw = dw_PWMCONTROL( addr=0x61 ) +s = dw.getSERVO(1) + +s.off();