What is Serial.begin(9600)?

Аватар автора
PythonNova
Want to learn more? Check out our courses! ***Get the code, transcript, challenges, etc for this lesson on our website*** We designed this circuit board for beginners! SHOP OUR FAVORITE STUFF! (affiliate links) --------------------------------------------------- We use Rev Captions for our subtitles Arduino UNO R3: Budget Arduino Kits: Multimeter Options: Helping Hands: Soldering Stations: AFFILIATES & REFERRALS --------------------------------------------------- FOLLOW US ELSEWHERE --------------------------------------------------- WHAT IS SERIAL.BEGIN(9600)? Are you wondering what Serial.begin(9600) does? You’ve probably seen it in most of the Arduino programs you’ve looked at – but what’s it there for?! Do you even need to use Serial.begin()? What if you change the number 9600? I mean, what’s 9600 even mean?! In this lesson you will learn exactly what Serial.begin does, when you NEED to use it, and what the heck the 9600 means. WHAT DOES SERIAL.BEGIN(9600) DO? Let’s get straight to this… Serial.begin() establishes serial communication between your Arduino board and another device. The most common use of serial communication you will establish is between your Arduino and your computer via a USB cable – or should I say a Universal Serial Bus cable. When you have established serial communication between two devices, it allows the two devices to communicate using a serial protocol. So let’s answer a couple practical questions… WHEN DO I NEED TO USE...

0/0


0/0

0/0

0/0