You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i read "Transfer protocol between ESP and MCU.docx", but i can't send a gcode through UART connection.
I wont send "M991".
I attach my python code:
import serial ser = serial.Serial('COM13', 125200) ser.write(b'0xa50x010x08M991\r\n0xfc') # Start flag = 0xa5 / Type = 0x01 / DataLen = 0x08 / Data = M991\r\n / End flag = 0xfc
while True:
s = ser.read(100) print(s)
ser.close()
If you could help me, I would appreciate it.
The text was updated successfully, but these errors were encountered:
Hello, i read "Transfer protocol between ESP and MCU.docx", but i can't send a gcode through UART connection.
I wont send "M991".
I attach my python code:
import serial
ser = serial.Serial('COM13', 125200)
ser.write(b'0xa50x010x08M991\r\n0xfc')
# Start flag = 0xa5 / Type = 0x01 / DataLen = 0x08 / Data = M991\r\n / End flag = 0xfcwhile True:
ser.close()
If you could help me, I would appreciate it.
The text was updated successfully, but these errors were encountered: