User Guide
Download the TinkerKit library and follow the instructions
With the TinkerKit library you have a number of advantages because each physical modules has a correspondent software object that contains all the methods you need to use it. The complete list of methods available for the modules are: