Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float V;
- float V_T;
- void setup() {
- Serial.begin(9600);
- }
- void loop() {
- analogReference(DEFAULT);
- V=analogRead(A5);
- V_T=V*5/1024/0.01; //Formula per la taratura
- Serial.println(V_T);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement