I'm working with energia for the launchpad 430 and have a rather specific question to make: is example A the equivalent in power consumption has example B, or is it that B drains more power? Thank you.
EXAMPLE A:
void setup() {
boolean flag = false;
}
void loop() {
flag = true;
}
EXAMPLE B:
void setup() {
boolean flag = false;
}
void loop() {
flag = !flag;
}