全文搜索结果:
- spi方式驱动ws2812
- 31, 0x33) ORDER = (1, 0, 2) def __init__(self, spi, n=8): self.spi = spi self.spi.init(baudrate=3200000, polarity=0, phase=0) self.n = n self.buf = bytearray([0x11] * n * 1
- 用pi_pico在ms_paint中绘画
- Mouse import math class Point: def __init__(self, xx, yy): self.x = xx self.y = yy numNodes = 7 radius = 50 nodes = [] origin = Point(0, 0) pen = Point(0, 0)... se(usb_hid.devices) class code: def __init__(self): self.btn = digitalio.DigitalInOut(board
- 使用_pio_获取更多_sigma_delta_adc输入
- h(noblock) class PIOCAP: def __init__(self, sm_id, outPin, inPin, max_count, count_freq): self._sm = StateMachine(sm_id, cap_prog, freq=2 * coun... # Use exec() to load max count into ISR self._sm.put(max_count) self._sm.exec("pull()") #self._sm.exec("mov(isr, osr)") self