Arduino Arithmetic Operators

preview_player
Показать описание
This week on Adventures in Science, we look at the various arithmetic operators in C and C++, specifically, as they're used in the Arduino environment. There are only 6 main operators: assignment, addition, subtraction, multiplication, division, and modulo. We also look at compound assignment operators; how they can be used to perform a math operation on a variable and then store the result back in the same variable.

Рекомендации по теме
Комментарии
Автор

Please keep pumping out these videos! I like the pacing -- explaining all the necessary basics so they seem intuitive, then launching into their more advanced applications. It may be a bit fast paced, but I just watch the video again if there is anything I missed the first time around. I'll spread the word as much as I can.

loganflack
Автор

Congratulations, this class of yours is very useful for me, in assembling panels. 👏👏👏 Like full

arduinomaquinas
Автор

this helped me in automating coil wrapping as i need to keep the speed of one motor constant relative to the speed of the other motor in turns per second, which decrease as new layers are added because the perimeter of the spool increases.

s.sradon
Автор

Very good, the Arduino is complicated. We need more training like this.

stevecy
Автор

How to calculate type logaritmic operation in arduino.
I really need it.

DwiNoviantoUntidar
Автор

Hey when i try to upload a sketch to my redbot arduino i get this

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding

like 10 times
What could be the problem, my drivers are updated i checked, am i using the wrong board? or programmer? Im using the Arduino/Genuino Uno board and the AVRISP mkll programmer

foresttrump
Автор

Im trying to divide...60 / .720 and I get the answer of 0....I can't figure out how to get the result that I need in my code. I can do this .720 / 60 and I get a correct result, but the other equation does not work right.

adithmart
Автор

sir how i can to input the number of the variabel at serial monitor?

iksanmaulana
Автор

Love the videos but the music is distracting

davestake
join shbcf.ru