#include
#include "derivative.h"
void main (void)
{
char a;
DDRA=0xFF;
a = 0;
while(1)
{
PORTA = 0x00;
switch (a)
{
case 0:
PORTA = 0x01;
case 1:
PORTA = 0x02;
case 2:
PORTA = 0x04;
case 3:
PORTA = 0x08;
case 4:
PORTA = 0x10;
case 5:
PORTA = 0x20;
case 6:
PORTA = 0x40;
case 7:
PORTA = 0x80;