#include "Pin.h"
const int LED_PINS[] = {23,22,32,33,25,26,27,14,12,13};
const int NUM_LEDS = sizeof(LED_PINS) / sizeof(int);
void setup(){
}
void loop(){
static int value=0;
if (value == 10) {value = 0;}
for (int i = 0; i < NUM_LEDS; i++){
Pin pin(LED_PINS[i], Pin::Direction::OUT, (i == value) ? HIGH : LOW);
}
value++;
delay(500);
}