Hi Nathan,
thank's for your job!
I am writing to you because I encountered this error.
How can I fix? Where is it that I'm wrong?
Thanks in advance
Greetings
Thank you for the kind words. I'm sorry you're running into some trouble. Thank you for supplying the error text and the screen capture.
Based on another user, who was also getting the same error, I believe the issue was caused by the computer putting USB devices to sleep. In Device Manager, can you verify that you have unchecked the option "Allow the computer to turn off this device to save power"? It may need to be checked in multiple places. If that's not it, I believe you are losing connection to the Arduino. Upon startup, the calibratorState is "off," provided the variable lightInstalled is set to TRUE. Otherwise, if lightInstalled is set to FALSE, the value for calibratorState becomes "not present."
Please let me know if that helps.
R/
Nathan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Nathan, thanks for your quick response. I followed your advice and I think the problem is in the sopsensine of the usb port. Anyway, it works now.
The next project with panel included!
Thanks again for your help and for sharing your work.
Greetings
Luciano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Nathan,
thank's for your job!
I am writing to you because I encountered this error.
How can I fix? Where is it that I'm wrong?
Thanks in advance
Greetings
Lucian
Hi Lucian,
Thank you for the kind words. I'm sorry you're running into some trouble. Thank you for supplying the error text and the screen capture.
Based on another user, who was also getting the same error, I believe the issue was caused by the computer putting USB devices to sleep. In Device Manager, can you verify that you have unchecked the option "Allow the computer to turn off this device to save power"? It may need to be checked in multiple places. If that's not it, I believe you are losing connection to the Arduino. Upon startup, the calibratorState is "off," provided the variable lightInstalled is set to TRUE. Otherwise, if lightInstalled is set to FALSE, the value for calibratorState becomes "not present."
Please let me know if that helps.
R/
Nathan
Hi Nathan, thanks for your quick response. I followed your advice and I think the problem is in the sopsensine of the usb port. Anyway, it works now.
The next project with panel included!
Thanks again for your help and for sharing your work.
Greetings
Luciano
I'm glad you've got it working.
You are very welcome!
R/
Nathan