Turn On/Off the Green Power led
Some Flyport modules have a green led onboard to let you know that the module is turned on. But sometimes (for battery powered applications) this is not necessary so we decided to drive this led using a mosfet.
The functions used in this tutorial is the following:
|void PowerLed (int putval)||PowerLed(1) turns on the led. PowerLed(0) turns it off|