Led guidance doc
This commit is contained in:
parent
08f0e448cc
commit
194c5623a9
2 changed files with 19 additions and 6 deletions
|
|
@ -10,7 +10,8 @@ from uosc.server import run_server, split_oscstr, parse_message, parse_bundle
|
|||
from uosc.client import send
|
||||
from uosc.client import Client
|
||||
from machine import Pin
|
||||
import mynetconf as netconf
|
||||
import netconf
|
||||
#import mynetconf as netconf
|
||||
import machine, neopixel
|
||||
|
||||
|
||||
|
|
@ -19,18 +20,21 @@ print('Loading OSC server module...')
|
|||
|
||||
MAX_DGRAM_SIZE = 1472
|
||||
|
||||
OSCport = 9001
|
||||
|
||||
leftnote = 36
|
||||
motherip = "192.168.2.104"
|
||||
motheroscport = 9002
|
||||
|
||||
OSCport = 9001
|
||||
ledpin = Pin(2, Pin.OUT)
|
||||
ESPledstate = False
|
||||
stripin = Pin(14, Pin.OUT)
|
||||
|
||||
n = 144
|
||||
np = neopixel.NeoPixel(stripin, n)
|
||||
motherip = "192.168.2.104"
|
||||
motherosc = Client(motherip, 9002)
|
||||
motherosc = Client(motherip, motheroscport)
|
||||
|
||||
|
||||
leftnote = 36
|
||||
|
||||
def ESPledon():
|
||||
global ESPledstate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue