#include "LED.h"
struct LED led {
0x30,
0x31,
0xFF
};
void setup() {
// put your setup code here, to run once:
setupLED(&led, 0xFF);
}
void loop() {
// put your main code here, to run repeatedly:
volatile uint8_t i;
volatile uint32_t wait;
// blink_led(&led, 0xFF);
for (i = 0; i < 8; i++) {
glow_led(&led, 1 << i);
for (wait = 0; wait < 80000; wait++);
}
}