Preloader image
   

Arduino Arithmetic Operators

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.

 

Share this post on the following platforms easily:

No Comments

Post A Comment

error: Context Menu disabled!