Hello, I was working on my school project (self-balancing robot) and while uploading a code for my sensor calibration this error message popped up:
Sketch uses 13836 bytes (45%) of program storage space. Maximum is 30720 bytes.
Global variables use 433 bytes (21%) of dynamic memory, leaving 1615 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM4"
Failed uploading: uploading error: exit status 1
Does anyone know what can cause this error message and how to fix it?
3 posts - 3 participants