FilipDominec / rp2daq

Raspberry Pi Pico firmware for universal hardware control & measurement, along with a user-friendly Python frontend
MIT License
27 stars 4 forks source link

bugfix example_ADC_sync_plot.py #6

Closed epsi1on closed 1 year ago

epsi1on commented 1 year ago

Hi. I think line 33 of the file is not necessary:

for x in range(5):

it makes the plot to happen 5 times for all channels instead of 1 time. I've found this bug while trying to visualize a pwm signal: this is how current code visualizes pwm signal: Screenshot from 2023-08-31 22-09-10

and after commenting out

Screenshot from 2023-08-31 22-09-43