void setup() {
// put your setup code here, to run once:
volatile char *dir;
// PORT F
dir = (char*)0x30;
*dir = 0xFF;
// PORT K
dir = (char *)0x107;
*dir = 0xFF;
}
void loop() {
// put your main code here, to run repeatedly:
// PORT F
volatile char *out;
out = (char *)0x31;
*out = 0x5B; // 0101 1011 4B
// PORT K
out = (char *)0x108;
*out = 0x6D; //0 1 1 0 1 1 0 1 5C
}
//0x4F