Commit df2b1a47 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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.
parent 08d3d5d9
......@@ -8,7 +8,7 @@ class NeoPixel: = pin
self.n = n
self.buf = bytearray(n * 3), pin.PULL_NONE)
def __setitem__(self, index, val):
r, g, b = val
......@@ -13,7 +13,7 @@ class OneWire:
def __init__(self, pin): = pin, pin.PULL_NONE)
def reset(self):
return _ow.reset(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment