chnage pref name

This commit is contained in:
Pritimay Sarkar
2024-01-16 15:29:30 +05:30
parent 7917d5073b
commit 6f4ba44e48
7 changed files with 107 additions and 19 deletions

20
scripts/plot_led_adc.py Normal file
View File

@@ -0,0 +1,20 @@
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_excel("data_dev7_6.xlsx", sheet_name="removed")
# print(df)
print(df.describe())
# Plot all lines on the same graph
# df["led1Buffer"].plot(label="LED 1")
# df["led2Buffer"].plot(label="LED 2")
df["led3Buffer"].plot(label="LED 3")
# df["led4Buffer"].plot(label="LED 4")
# Add legend to the plot
plt.legend()
# Display the plot
plt.show()