void setup() {
// put your setup code here, to run once:
volatile char *dir;
dir = 0x30;
*dir = 0xFF;
dir = 0x107;
*dir = 0xFF;
}
void loop() {
// put your main code here, to run repeatedly:
volatile char *out;
out = 0x108;
*out = 0x01; //try 0x03 or 0b00000011 //try 0x02
out = 0x31;
*out = 0x01;
}