param in: GPIO or Pin number to be exported
param pin: pin/gpio numberr which is exported
param direction: 1 for output 0 for Input
param pin: pin/gpio numberr which is exported and direction set
param level: 1 logic high 0 logic low
param pin: pin/gpio numberr which is exported and direction set
return: 1 for logic high 0 logic low