# calculate the electric consumption

hi i want to calculate the electric consumption every minute, the formula is c=average power * temp. I have the average power, but i need the temp ( 1 minute ). helpp mee plzzz sorry for the translate Im italien.

Sorry, what you want is unclear. Why not ask in the Italian section of this board?

I have the average power, but i need the temp

The temp(erature) is currently 57 degrees (F).

Some context for your question might be useful.

I mean 1 minute in arduino = ???

If you want relative time, check out the millis() function.