I'm having a problem with my code where, in the Arduino serial monitor, when I click a button, it displays a value in the serial monitor. However, when I transfer it to MIT, I can't read this value, and I don't know why.

I'm having a problem with my code where, in the Arduino serial monitor, when I click a button, it displays a value in the serial monitor. However, when I transfer it to MIT, I can't read this value, and I don't know why.
I have not used the Serial component yet, but I imagine this technique would avoid empty read returns wiping out previous input:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.