enablePeripherals()
disablePeripherals()
Example:
function sampleSensor() {
// Power-up external peripherals
enablePeripherals();
// Use the sensor ...
// Cut the power from the peripherals
disablePeripherals();
}
Toggles the power to the external peripherals.