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 May 23, 2024
1 parent d9eef75 commit fab6245
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 @@ -80,6 +80,6 @@
plt.xlabel("frequency [Hz]")
plt.ylabel("Voltage (mV)")
plt.draw()
plt.pause(0.05)
plt.show()

del my_adc

0 comments on commit fab6245

Please sign in to comment.