Download Print this page

sparkfun MicroMod DEV-18575 Hook-Up Manual page 24

Main board hookup

Advertisement

//SAMD51
//#define PWR_EN0 18
rd (18)
void setup() {
// initialize the digital pin as an output.
pinMode(PWR_EN0, OUTPUT);
}
void loop() {
digitalWrite(PWR_EN0, HIGH); // turn the 3.3V regulator on (HIGH is the voltage level)
delay(5000);
s
digitalWrite(PWR_EN0, LOW);
delay(5000);
}
After uploading, take a look at your Function Board's PWR LED. The LED will be on for about 5 seconds and then
turn off for another 5 seconds. It will continue to repeat until power is removed from the MicroMod Main Board -
Single.
Example 2: MicroMod Main Board - Double Enable Function Boards
If you have not already, select your Board (in this case the MicroMod Artemis), and associated COM port. Copy
and paste the code below in your Arduino IDE. Hit the upload button and set the serial monitor to 115200 baud.
//Function Board 0's "PWR_EN0" pin <= MicroMod A1 => SAMD51 Processor Boa
// wait for a few seconds to do something with the function board
// turn the 3.3V regulator off by making the voltage LOW
// wait for a few seconds before turning function boards back on

Advertisement

loading
Need help?

Need help?

Do you have a question about the MicroMod DEV-18575 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Micromod dev-18576