Cannot get my basic readings code to talk to board for Qwuiic Flex Glove Sensor

Hello there,

I am having lots of trouble getting my BasicReadings code to upload to my Sparkfun Redboard. Every time I try to upload it it gives me this error message:

avrdude: Version 6.3-20190619

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is “C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf”

Using Port : COM6

Using Programmer : arduino

Overriding Baud Rate : 115200

avrdude: ser_open(): can’t set com-state for “\.\COM6”

avrdude done. Thank you.

An error occurred while uploading the sketch

I have tried several different things including changing the board, changing ports, updating libraries, changing the code, etc and nothing has worked. I would love to call and talk to someone and I would be willing to give my phone number to a trained professional.

I have been trying to troubleshoot this for probably 3weeks now and nothing has worked.

Thank you and best wishes,

Cody Becker

Hello Cody.

I’ve not seen that error before and don’t quite know what might be causing it. Does the same thing happen with other code like the Blink example sketch? Have you tried uninstalling and reinstalling Arduino? Does a reboot of your computer clear things up? Does a different USB cable produce the same error?

It doesn’t sound like a problem with your code, it sounds more like an issue in Arduino or possibly the connection between the computer and RedBoard.

It was the USB cable! Thank you!!