I am using an Arduino Uno to measure analog voltage using this arduino widget code copied from the widget posting
#define VIRTUAL_PIN =.000488759(V1)*
// Virtual Pin of the widget2
#define VIRTUAL_PIN =.00488759(V2)*
I am using only an arduino uno and raspberry pi3
The multiplier (.0048875 = 5 /1024) is for arduino analog measurements is to convert the input value to volts for a 5 V system.
As well note that value reads the same for V1 and V2 on the widget dashboard despite the number of zeroes in the multiplier.
FYI my arduino is connected with a USB cable to my laptop. and compiles code just fine.
Please advise how to fix this…