In this repository you find a library that will give you a random value that simulates the output of a moisture sensor.
To use this library you first need to make an instance of the class. You don't need to give extra information to the class.
To get a value of the sensor you can just call the method moisture() on your instance. When you use the method moisture() you get a value with a type uint16_t with a range of 0 to 100.
This library was made for the pulu project in the development phase.