Hello everyone, this is my first forum post, i was making a sensor based experiment at arduino ide software,
i used analogRead(A0) to read a value
to obtain the main ac voltage i used too a simple formula
Vrms = sqrt(2) analogRead(A0);
my question is:
how´s to make a better code?,i mean as a common voltmeter perfomance.
thank you