summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/scripts/neopixel.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-05 23:47:37 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-05 23:47:37 +0300
commitdf2b1a4758500d3ac538b30fad2e5a48126ea4a0 (patch)
treec8f09083c6c0ff9c186dd2c78ef0d650351378d4 /esp8266/scripts/neopixel.py
parent08d3d5d9ab2ac0d39fb04e41d446a8fbbcf70354 (diff)
downloadmicropython-df2b1a4758500d3ac538b30fad2e5a48126ea4a0.tar.gz
micropython-df2b1a4758500d3ac538b30fad2e5a48126ea4a0.zip
esp8266/scripts/: Remove use of pin.PULL_NONE.
This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls.
Diffstat (limited to 'esp8266/scripts/neopixel.py')
-rw-r--r--esp8266/scripts/neopixel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/scripts/neopixel.py b/esp8266/scripts/neopixel.py
index 4818c74a3b..6b7541e64a 100644
--- a/esp8266/scripts/neopixel.py
+++ b/esp8266/scripts/neopixel.py
@@ -8,7 +8,7 @@ class NeoPixel:
self.pin = pin
self.n = n
self.buf = bytearray(n * 3)
- self.pin.init(pin.OUT, pin.PULL_NONE)
+ self.pin.init(pin.OUT)
def __setitem__(self, index, val):
r, g, b = val