Hi,
Have you placed your finger over the sensor to give it something to read?
Tom....
![]()
Hi,
Have you placed your finger over the sensor to give it something to read?
Tom....
![]()
Yes, but it doesnβt show me value but NAN.
I tested every components that is on breadboard with the help of the Arduino examples and works.
Hi,
Is the code I posted in post #18 the same as yours?
Have you tried the code I posted in Post #18?
Thanks.. Tom...
![]()
PS. If you are having trouble pasting your code the forum format, then just copy and paste it, like text, into a post and we will see what we can do.
Tom...
![]()
Yes but in post #18 it's the same code as the one I posted.
This is probably due to dividing by zero - your code does division by various values and if
any of those happens to be zero the result will be a NaN. Its best to explicitly check for zero
before dividing by a variable.
readEEPROM () is not optimally edited, drop line 39 or change the subroutine from line 180-190
Is there a reason not to use EEPROM.put() and EEPROM.get() instead of messing around with bytes and converting to a float ?
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.