Skip to content

Commit

Permalink
examples: ad4020_example: Display spectrum plot for longer
Browse files Browse the repository at this point in the history
The voltage spectrum plot quickly closed with almost no time the user to
see it. Keep the plot visible for the user to analyse it.

Signed-off-by: Marcelo Schmitt <[email protected]>
  • Loading branch information
machschmitt committed Oct 8, 2024
1 parent 19fc95b commit e4155e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ad4020_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@
plt.xlabel("frequency [Hz]")
plt.ylabel("Voltage (mV)")
plt.draw()
plt.pause(0.05)
plt.show()

del my_adc

0 comments on commit e4155e1

Please sign in to comment.