Mathematical question


hi all,

i use specific delay formula, don't know how write it.
this function: delay(distancecm * 10)
i replace function below:
delay ((n/100) raised power 2) * 1000

so:
devide n 100,
than raise result power 2
than multiply 1000

does anyoine of know how this?
thanks in advance, eibert

delay(n*n/10);

pete


Arduino Forum > Using Arduino > Programming Questions > Mathematical question


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial