fix monocolor LED

This commit is contained in:
abhijithabhiakl 2022-01-26 12:30:08 +05:30 committed by Josh Klar
parent af55acd584
commit 0bebdd6d27

View File

@ -1,4 +1,4 @@
import pulseio
import pwmio
from math import e, exp, pi, sin
@ -27,7 +27,7 @@ class LED(Extension):
val=100,
):
try:
self._led = pulseio.PWMOut(led_pin)
self._led = pwmio.PWMOut(led_pin)
except Exception as e:
print(e)
raise InvalidExtensionEnvironment(