in water
h = 0.45629882812
h = 0.45678710937
h = 0.45971679687
h = 0.46044921875
h = 0.46020507812
h = 0.4619140625
h = 0.4619140625
h = 0.462890625
h = 0.46362304687
in air
h = 0.00024414062
h = 0.00048828125
h = 0.0009765625
h = -0.00024414062
h = 0.00024414062
Now i just have to calculate it in %, an have som treshold for 0% because of the fluxuation, maybe an upper limit too?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
hmm 3.3v seems to work now.
in water
h = 0.45629882812
h = 0.45678710937
h = 0.45971679687
h = 0.46044921875
h = 0.46020507812
h = 0.4619140625
h = 0.4619140625
h = 0.462890625
h = 0.46362304687
in air
h = 0.00024414062
h = 0.00048828125
h = 0.0009765625
h = -0.00024414062
h = 0.00024414062
Now i just have to calculate it in %, an have som treshold for 0% because of the fluxuation, maybe an upper limit too?
I will check the code you guys provided :)