parent
91a8269e98
commit
c15658e6ad
@ -0,0 +1,15 @@ |
|||||||
|
#!/bin/env python3 |
||||||
|
import time |
||||||
|
|
||||||
|
import gex |
||||||
|
import numpy as np |
||||||
|
from matplotlib import pyplot as plt |
||||||
|
|
||||||
|
from scipy.io import wavfile |
||||||
|
|
||||||
|
with gex.Client(gex.TrxRawUSB()) as client: |
||||||
|
adc = gex.ADC(client, 'adc') |
||||||
|
|
||||||
|
for i in range(1000): |
||||||
|
print(adc.read_raw()) |
||||||
|
|
Loading…
Reference in new issue