#define PIN_BLACK 6
#define PIN_YELLOW 7
#define PIN_WHITE 8
#define PIN_RED 9

#define PIN_OUTPUT 10

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);

  pinMode(PIN_BLACK, INPUT);
  pinMode(PIN_YELLOW, INPUT);
  pinMode(PIN_WHITE, INPUT);
  pinMode(PIN_RED, INPUT);
  pinMode(PIN_OUTPUT, OUTPUT);
}

void loop() {

  int pinBlack = digitalRead(PIN_BLACK);
  int pinRed = digitalRead(PIN_RED);
  int pinYellow = digitalRead(PIN_YELLOW);
  int pinWhite = digitalRead(PIN_WHITE);

  Serial.print("black: ");
  Serial.print(pinBlack);
  Serial.print(" red: ");
  Serial.print(pinRed);
  Serial.print(" yellow: ");
  Serial.print(pinYellow);
  Serial.print(" white: ");
  Serial.println(pinWhite);
  delay(300);
}