An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
sendCommand and sendResponse now pass the command/response argument as a String reference instead of cloning the String object to help reduce heap fragmentation by incorrect use of the abominable String class.
The functions have also been overloaded with parameter types of const char * and FlashString (the latter being a typedef of __FlashStringHelper * for convenience) to allow the use of the library by people who don't want their heap fragmenting by the forced use of the abominable String class.
sendCommand
andsendResponse
now pass the command/response argument as aString
reference instead of cloning theString
object to help reduce heap fragmentation by incorrect use of the abominableString
class.The functions have also been overloaded with parameter types of
const char *
andFlashString
(the latter being a typedef of__FlashStringHelper *
for convenience) to allow the use of the library by people who don't want their heap fragmenting by the forced use of the abominableString
class.