unknown italian syntex


hi, came across this fine code on @ italian side of forum.
it compiles (when u add setup , loop) 1 line of code looks strange.
can decypher this?
code: [select]
dst = (0.5l*((float)analogread( pin_st )))/10; //lettura in volt
17th line of code in second code box, original poster kokiua
0.5l ?
(float)analogread(x) ?





0.5l == 0.5 double precision value.
(float) analogread(x) == cast result of analogread(x) floating point value.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > unknown italian syntex


arduino

Comments