void setup() {
// put your setup code here, to run once:
volatile char *dir;
dir=0x30; // for display 1 portf direction register
*dir=0xff; // set all pin off
}
void loop() {
// put your main code here, to run repeatedly:
volatile char *out;
out = 0x31; // for display 1 data register
*out= 0x5b; // output value is 2
}