Day 1

Introduction

Today I explored how the Serial Monitor works in Arduino and how variables help store data. It was my first hands-on session, and I began understanding how communication between the Arduino and the computer happens.

What I Did

New Concepts and Functions

Challenges

I had a minor issue understanding the difference between Serial.print() and Serial.println(), but testing them helped me see how the cursor moves with each.

Code Snippets


void setup() {
  Serial.begin(9600); // start serial communication
  int myNumber = 5;
  Serial.print("My number is: ");
  Serial.println(myNumber);
}

void loop() {
  // nothing here for now
}
    

Conclusion

It was a good start to understanding how data moves between the Arduino and computer. I’m excited to try input devices like buttons or sensors next.

🏠 Home ➡️ Next Day