@ Rs125 : vedo che nel codice usi numeri del tipo ... 0.000001103806813 ...
... forse ti è sconosciuta la cosa che su Arduino NON esistono i double (sono equiparati ai float ... 32 bit) e che :
"Floats have only 6-7 decimal digits of precision. That means the total number of digits, not the number to the right of the decimal point."
... quindi ... stai scrivendo numeri che verranno tutti inesorabilmente troncati, arrotondati e la precisione sarà quella che sarà ![]()
Guglielmo