mesure current

hi, i want to mesure the current with acs712 20A and diplay it on an LCD but i can't found the right arduino code please help me

It's just an analogRead()

Hi, Welcome to the forum.

Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html

Have you googled arduino acs712 current sensor code

Tom.. :)

no it is not i did that and it gave me a wrong mesurment

makrem28: no it is not i did that and it gave me a wrong mesurment

OK, thanks for letting is know. Good luck.

(deleted)