#include "common.h"
void setup() {
// put your setup code here, to run once:
volatile char *portf;
portf = 0x30;
*portf = 0xFF;
volatile char *portb;
portb=0x24;
*portb=0xFF;
}
void output(char x)
{
volatile char *porta_d;
porta_d=0x31;
*porta_d=x;
}
void output2(char x)
{
volatile char *portb_d;
portb_d=0x25;
*portb_d=x;
}
void loop() {
volatile long i;
volatile char x;
x=0b10;
output2(x);
display2(x);
x=0b11;
x=0b01;
output2(x);
display5(x);
}