Home › Forums › Mayfly Data Logger › Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly › Reply To: Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly
2019-02-27 at 6:02 PM
#12833
@gregcutrell – The _numReturnedVars isn’t a “user set” variable in the typical way you might be thinking of it. It is *not* intended to be set by a user in a program. It’s intended to be set in the header file for a specific sensor. When creating it, the writer of the header file should know exactly how many values the sensor can and will return. Those lines are commented out because they really are only for debugging to confirm the sensor code works as it should.
But your code looks like it should be good. Can you put in a pull request?