Skip to content

Instantly share code, notes, and snippets.

## PulseIn High Freq Test ##
# PWMOut script #
# Run on a Feather M0 Express #
import time
import pulseio
import board
interval = 20
cur_hrz = 8000 # Hertz
## PulseIn High Freq Test ##
# PulseIn script #
# Run on an ItsyBitsy M0 Express #
import time
import pulseio
import board
print("Starting PulseIn...")
@sommersoft
sommersoft / 128_REPL_Max_2
Created March 20, 2018 06:06
128_REPL_Max_2
## Continuation from 128_REPL_Max 1 ##
## https://gist.github.com/sommersoft/fbfe8acae76589256f874fe63f697660 ##
## started this capture already at '>>>' (see first usb_rx_buf_tail == 70, with usb_rx_count == 64...difference of 6)
---------------------------------------------------------------------------------------------------------------------
x = "Testing 128 character pasting into the REPL to see if 3.0 still breaks when you try to do this. Blah blah, bleh bleh and st
read_complete(_usb_d_cb_trans_done):: usb_rx_count: 0; pending_read: true #<-- first ep xfer of 64bytes