Arduino - Switch Case

  Рет қаралды 7,541

isteeleEvCC

isteeleEvCC

Күн бұрын

Пікірлер: 13
@johneagle4384
@johneagle4384 3 жыл бұрын
I like how you started your tutorial without leds, buttons and whatnot. This is a clear and direct explanation. Thank you!.
@turdsferbreakfast
@turdsferbreakfast 3 жыл бұрын
One the best tutorials. You are a good teacher!
@Anonymous-vu4by
@Anonymous-vu4by 3 жыл бұрын
Yes he he is also my best teacher. I have almost completed arduino program. If he didn't make these videos. I could not be learn c++ coding.
@Mtmonaghan
@Mtmonaghan 6 ай бұрын
really well done lesson, thank you
@robertselectronichobbies9507
@robertselectronichobbies9507 2 жыл бұрын
This is the best explanation of switch case I have seen. Thank you! Now can you do interrupts please?
@AntonLock
@AntonLock 2 жыл бұрын
Thanks 🙏 great tutorial, just wondering if you would give a private lesson (online) on an issue I’m having surrounding this subject but it wasn’t exactly answered in the video, I’d be more than happy to pay you for your time, thanks 🙏
@mastermoarman
@mastermoarman 3 жыл бұрын
Why would you use the switch case over the if?
@ineroeder5804
@ineroeder5804 2 жыл бұрын
I have a question! I tried putting a “delay” in one of my cases. “Case 3: LED1 HIGH delay LED2 HIGH” and it kept looping that one case. The LED stopped reacting to the button I was using. So once I got to that case it kept going LED1 high LED2 high LED1 high LED2 high…. And so on. Can you help me?
@isteeleEvCC
@isteeleEvCC 2 жыл бұрын
Because of the delay it is spending more time in the case and very little time outside where the button is being checked. The button might be pressed and released during the delay so it is not checked/saved in memory. If you hold down the button it might show that it works differently (since holding it down will ensure it is checked when the code is outside the switch). If that doesn't help, if you post the entire code then I can take a look at it.
@tbryson2
@tbryson2 3 жыл бұрын
Sure do like the Arduino simulator with breadboard! Is that “yours” or available to anyone? TB2
@isteeleEvCC
@isteeleEvCC 3 жыл бұрын
It is not mine and it is free to everyone; www.tinkercad.com.
@tbryson2
@tbryson2 3 жыл бұрын
@@isteeleEvCC yea, I found it. Thanks for the response and the video. The “switch” command and how you used it will come in very handy for a project I’m involved with.
@phillbon3457
@phillbon3457 3 жыл бұрын
Wait what? Shouldn't it look like this? case 'd' : Serial.println("caseD_clicked"); Didn;t you miss the ' ' ' ' ' ' ' ' ' ' ' ' out?
Arduino Event-Based Programming
26:12
BP Learning
Рет қаралды 230 М.
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 94 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Arduino Switch-Case statement
6:01
Monkhaus
Рет қаралды 26 М.
Arduino Workshop - Chapter Three - SWITCH CASE Statements
8:08
Core Electronics
Рет қаралды 181 М.
✔ Multitask Arduino with State Machines (& Switch Debouncing)
30:42
Normal Universe - Chris Guichet
Рет қаралды 70 М.
Arduino Basics Handling Multiple States
10:35
learnelectronics
Рет қаралды 121 М.
How to do multiple tasks in Arduino | Beginners | millis() function
10:23
Arduino Lesson 9 - For Loops
18:10
Benduino
Рет қаралды 50 М.
Arduino Sketch with millis() instead of delay()
14:27
Programming Electronics Academy
Рет қаралды 234 М.
Using tabs to organize code with the Arduino IDE
12:18
Programming Electronics Academy
Рет қаралды 61 М.
Materials Science - Magnetic Properties
29:24
isteeleEvCC
Рет қаралды 2,2 М.
Using Arrays with Arduino
13:51
Programming Electronics Academy
Рет қаралды 31 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН