support digital pin on pcduino
added license and example