BASE¶
Overview¶
With the BASE we made is easy to connect a battery/solar, to flash the bootloader and try out some sensors.
Power¶
On Off Switch¶
With the on/off switch you are able to switch the power from the connected battery.
The on/off switch only works when there is no usb connected and the switched pin is not set high in software.
For more information see also the SODAQ ONE Battery page.
Switched Grove Connector¶
If you want to use the pins: ⅔, 6/7 and 8/9 you first have to set pin D11 high.
#define enablePin 11
void setup() {
// put your setup code here, to run once:
pinMode(enablePin, OUTPUT);
digitalWrite(enablePin, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
}