Once I upload to the arduino, it stops returning serial data. It still runs through setup and loop and can blink LEDs (which was my debug test to make sure I hadn't broken the board), but it won't print to my serial monitor.
<void setup() {
Serial.begin(9600); // Begin serial communication with computer
Serial.println("Starting setup");
}
void loop() {
Serial.println("In loop");
}>
This is the code I've been using for debugging. It won't print "Starting setup", but it does print the "In loop".
If anybody has a suggestion I would be very grateful!
Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.
thegreaterphysicist:
Once I upload to the arduino, it stops returning serial data. It still runs through setup and loop and can blink LEDs (which was my debug test to make sure I hadn't broken the board), but it won't print to my serial monitor.
<void setup() {
Serial.begin(9600); // Begin serial communication with computer
Serial.println("Starting setup");
}
void loop() {
Serial.println("In loop");
}>
This is the code I've been using for debugging. It won't print "Starting setup", but it does print the "In loop".
If anybody has a suggestion I would be very grateful!
pert:
Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.