Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Open-JIP <[email protected]>
  • Loading branch information
Open-JIP committed Sep 24, 2019
1 parent 5e11d5e commit 8c50b17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions OJIP to Graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

ser = serial.Serial('EnterSerialPortOfArduinoHere', 74880)

xdataArray = []
ydataArray = []


def measureOJIP():
global xdataArray
global ydataArray
ser.flush()
time.sleep(1)
ser.write(b'MF')
xdataArray = []
ydataArray = []
for i in range(1100):
OJIP_bytes = ser.readline()
decoded_OJIP_bytes = str(
Expand Down

0 comments on commit 8c50b17

Please sign in to comment.