 #ifndef ARDUINO_HOODLOADER2 
 
 #define RESET     4 // Use BuildingBlocks MainBoard specific pin for reseting the target.
-#define LED_HB    9
-#define LED_ERR   8
-#define LED_PMODE 7
+//#define LED_HB    9
+//#define LED_ERR   8
+//#define LED_PMODE 7
 
 // Uncomment following line to use the old Uno style wiring
 // (using pin 11, 12 and 13 instead of the SPI header) on Leonardo, Due...


void loop(void) {
  // is pmode active?
  if (pmode) {
    digitalWrite(LED_PMODE, HIGH);
  } else {
    digitalWrite(LED_PMODE, LOW);
  }
  // is there an error?
  if (error) {
    digitalWrite(LED_ERR, HIGH);
  } else {
    digitalWrite(LED_ERR, LOW);
  }

  // light the heartbeat LED
  heartbeat();

// This is the same standard ArduinoISP example, with only the RESET pin set to match the one used in the Mainboard module (4) and SS pins set to 1, and LEDs disabled.

// ArduinoISP
// Copyright (c) 2008-2011 Randall Bohn
