How to Read User Inputs from the Serial Monitor - Ultimate Guide to the Arduino #14

preview_player
Показать описание
Learn how to get the Arduino to react to inputs from the serial monitor with this step by step guide. We will see how to write programs for a serial monitor based menu, weight calculator, and password login interface.

This is tutorial #14 in the Ultimate Guide to the Arduino, a complete video course on the Arduino microcontroller with 45 lessons that are designed to teach anyone how to master the Arduino at any skill level. Visit our YouTube channel page to watch the entire series!

Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:

Or get the kit from Amazon:

Get an Arduino Uno from SunFounder here:

Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:

And be sure to check out the Circuit Basics blog and social media for more articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects!
Рекомендации по теме
Комментарии
Автор

Like the way the work is described in your various videos . Good presentation

johnbabu
Автор

Like the video.Good presentation. However, can you perhaps assist me with the following.I want to use the serial monitor to update a PWM signal the OCR0A
fanSpeed = Serial.parseInt();
OCR0A = fanSpeed;
but is does not work. It accepts the new value to set brighness of an LED but immediately the LED goes off again. Any Advice

francoisleroux
Автор

Hi
I'm new to arduino but not to programming. I just want to ask why you use an empty loop instead of using an if statement. :)

jkeshif
Автор

Using strings is NEVER good with arudino

dedgzus
Автор

you can tell an engineer wrote this code😭😭 Zero redundancy in the programs

ethanpeebles