setup()

The setup() function is called when a sketch starts. Use it to initialize variables or pin modes. The setup function will only run once after each power up, reset or wake up of the Zuno board.
BYTE first_run;

void setup() {
  serial.begin();
  first_run = 0;
}

void loop() {
  ... 
}