Last version had errors

After deep testing, found some bugs.
Now the example is updated to use the new PinModes and actions..

and i can sure you that now it was tested ;)