Oliv4945 / wipy-WS2812

Wipy driver for WS2812 RGB LEDs (WS2812B, AdaFruit NeoPixels, ...).
MIT License
17 stars 11 forks source link

AttributeError: type object 'Pin' has no attribute 'ALT' #4

Open arthurlutz opened 7 years ago

arthurlutz commented 7 years ago

Reading https://docs.pycom.io/pycom_esp32/library/machine.Pin.html#machine.pin.init Pin.ALT has been removed I guess. Is it Pin.OPEN_DRAIN - input or output pin in open-drain mode. ?

ghost commented 7 years ago

On the WiPy 2.0 I got it working by adressing P11 (MOSI): Pin('P11',mode=Pin.OUT, pull=Pin.PULL_DOWN)