-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When using "input", the first instance does not seem to do anything for some reason.
It does work in Mu, not sure what is happening.
Might check baud rate?
This code is example:
np = None
from digitalio import *
import board
import time
import neopixel
some_var = input("Enter a variable")
print("Hello, World!")
print(some_var)
print("Bye, World!")
some_var2 = input("Enter a variable")
print("Hello, World!2")
print(some_var2)
print("Bye, World!2")
np = neopixel.NeoPixel(board.NEOPIXEL, 5, auto_write=False)
np[0] = (255, 0, 0)
np.show()
time.sleep(1)
np[0] = (0, 0, 128)
np.show()
time.sleep(1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels