Difference between revisions of "Mixly Block Category - Math"

From Microduino Wiki
Jump to: navigation, search
(Arithmetic Operations)
(Max)
Line 21: Line 21:
 
*log - Takes the natural log of the input and returns it: Read more here: https://www.arduino.cc/en/Reference/MathHeader
 
*log - Takes the natural log of the input and returns it: Read more here: https://www.arduino.cc/en/Reference/MathHeader
  
=Max=
+
=Max / Min=
 +
*max - Takes the max of the two inputs and returns it. Read more here: https://www.arduino.cc/en/Reference/Max
 +
*min - Takes the min of the two inputs and returns it. Read more here: https://www.arduino.cc/en/Reference/Min
 +
 
 
=Random Integer=
 
=Random Integer=
 
=Constrain=
 
=Constrain=
 
=Map=
 
=Map=

Revision as of 21:24, 15 February 2017

Number Value

Numeric value which can be assigned to a variable or used in function parameters.

Arithmetic Operations

Performs the arithmetic operations on the left input with the right input. Then returns that value. Variables can be used to inputs.

Trigonometry Function

Number Function

Max / Min

Random Integer

Constrain

Map