#include "led1.h"
#define DELAY 100000
void setup() {
// put your setup code here, to run once:
init();
}
void loop() {
// put your main code here, to run repeatedly:
volatile char output;
volatile long i,j;
for(j=0;j<8;j++)
{
output = 1 << j;
if(j%2 == 0)
out(output);
for(i=0;i<DELAY;i++);
}
for(j=0;j<8;j++)
{
output = 1 << j;
if(j%2 == 1)
out(output);
for(i=0;i<DELAY;i++);
}
}