If, else if, and else in Arduino Chapter 9

preview_player
Показать описание
A brief review of Chris Odom's chapter on If statements.
Chris Odom's books are available here:
Рекомендации по теме
Комментарии
Автор

Thank you so much for your explanation. I get the concept. Best tutorial I have seen on If, else if, and else.

ohmedarick
Автор

Very good explanation, thanks for this.

nibblesd.biscuits
Автор

Very good and helpfull. What if we would like to check 2 variables ? Let's say if x = 1 and y =1 then do something, or we say x=1 or y=1 we will do something. Wondering how you going to do that.

Don-vvof
Автор

Hello, could I have your help. I'm trying to make a program for a vending machine. The hardware will be: a coin slot that takes a pound coin, this is attached to a switch to make a variable value:1
I then have a keypad that is connected to an analog input via resistors in a ladder formation so the analog knows which button is pressed. I would like the program to put a value of 1 when a coin is accepted and this value allows you to select from the keypad if the variable cal is zero, the program will not allow the user to select from the keypad. If the value is 1, I would like the program to reset the variable value from 1 to 0 so the customer has to insert another pound coin to start over. I would appreciate your help! Thanks

grannysvids
Автор

Hey is it possible to use memory values something like
*int* DynamicMemory = (Values here)
*if* (DynamicMemory < 90%...
I think you got it, im trying to make a memory error to my project but i cant find out how...

kpm
Автор

Hi, I need to compare 4 digital outputs, someone knows how it is done.
if the 4 are in high state of true .. thanks

visual
Автор

Hi, great video! That "int number = randomInt(1, 12)" line is giving me an error message of not being declared in the scope. What am I doing wrong?

erikbuckner
join shbcf.ru