Convert waveforms exported by Saleae Logic into pulse files useable by fast-gpio
Convert waveform sample csv files into pulse files that can be used with fast-gpio
with:
python samples2pulses.py <Waveform Sample CSV File>
Will output a file the same name as the waveform csv but with the extension, .pulse
.
- The last high-low pair in the pulse file will be
0,0
sincefast-gpio
interprets that as the stop signal - If the last value in the waveform is a 0, the last pulse will have a low pulse with a width of 5000us.