Skip to content

Commit dd45916

Browse files
author
harunkurt.me
committed
add our struct from arduino our serial_com1.py
1 parent 5fb31af commit dd45916

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

serial_com1.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@
3333
ser.open()
3434
print ("port was already open, was closed and opened again!")
3535

36+
37+
# typedef struct{
38+
39+
# int16_t val;
40+
# int16_t other_val;
41+
# int16_t other_val2;
42+
43+
# uint16_t checksum;
44+
45+
# //int16_t a;
46+
# } SerialCommand2;
47+
3648
while True:
3749
val=ser.readline()
3850
# print(val)

0 commit comments

Comments
 (0)