Datasheet

EA uniTFT Vorufig
CALCULATION
Each numerical parameter can be replaced by a calculation. The calculation needs to be enclosed in brackets ().
Name Command
Description
Integer Float
Mathematical functions +, -, * , /, () Arithmetical functions
|x| (amount) abs(x) Calculation of absolute
value
x%y (modulo) mod(x,y) Calculation with remainder
x^y (power) pow(x,y) Calculation with power
Root sqrt(var) Calculating the root
Logarithm log(var) Calculating the logarithm
Natural logarithm ln(var) Calculating the natural loga-
rithm
Degrees to radians rad(deg) Converting degrees to
radians
Radians to degrees deg(rad) Converting radians to
degrees
Sine sin(deg) Calculating the sine
Cosine cos(deg) Calculating the cosine
Tangent tan(deg) Calculating the tangent
Arc sine asin(var) Calculating the arc sine
Arc cosine acos(var) Calculating the arc cosine
Arc tangent atan(var) Calculating the arc tangent
Arc tangent in the correct quadrant atan(y,x) Calculating the arc tangent
in the correct quadrant
Random value in the range rand(sv,ev) Random value in the range
of values
Random value 0 - ev rand(ev) Random value greater than
0
Random value 0<= x<=1000 rand() Random value greater than
0; smaller than 1000
Minima min(a,b,c...) Smallest value
Maxima max(a,b,c...) Largest value
Average avg(a,b,c...) Average
Bit operators <<, >>, &, |, ^, ~ Bit Operatoren
Logical operators <, >, <=, >=, !=, ==, &&,
||, !
Logical operators
Increase, reduce ++,-- Increase, reduce
Port (a=0..15) = 0..255
port(a) Port value
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 20