Usage;
//Turn off the Ethernet controller PowerManagment.SetPeripheralState(Peripheral.Ethernet, false); //Turn off the uSD Card PowerManagment.SetPeripheralState(Peripheral.SDCard, false); //Turn off the Power LED PowerManagment.SetPeripheralState(Peripheral.PowerLED, false); //Turn On uSD Card PowerManagment.SetPeripheralState(Peripheral.SDCard, true);
I don't have the public source code repositories up for Variable Labs just yet, so I've attached the source below.
PowerManagment.cs 3.13KB 202 downloads
- Gutworks, Paul Newton, Bejay and 5 others like this