non mi sembra difficile da interpretare: moltiplica x20 il logaritmo in base 10 del valore che legge sul pin analogico diviso 0,775
#include <math.h> ...float result = 20*log10((float)tensione/0.775);
With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Warning: this topic has not been posted in for at least 120 days.Unless you're sure you want to reply, please consider starting a new topic.