Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: Wingshield for Modbus Communication with Isco Signature

Home Forums Mayfly Data Logger Wingshield for Modbus Communication with Isco Signature Reply To: Wingshield for Modbus Communication with Isco Signature

#13440
Sara Damiano
Moderator

    Oops, I was just looking over again the code I gave you and realized there’s a mistake in line 41. The levelStatus should be the inverse of the modbus result since 0 is good. (bool levelStatus = !modbus.uint16FromRegister(0x03, 40042)) I corrected it above.