Hey Lefty Thanks for that bit of code.
I’m just mapping out the pins on my new seeeduino mega now. I got a few of the extra 16 digital pins to fire. Can you post how to set the the other pins to HIGH also. I have:
70, 71, 72, 77, 83, and 85.
DDRH |= 0x04; //sets digital pin 70 as an Output Pin
DDRH |= 0x7f; //sets digital pin 71 as OUTPUT
DDRJ |= 0x04; //sets digital 72 as OUT
DDRJ |= ; //73
DDRJ |= ; //74
DDRJ |= ; //75
DDRJ |= ; //76
DDRJ |= 0x7f; //sets pin 77 as OUT
DDRD |= ; //78
DDRD |= ; //79
DDRD |= ; //80
DDRG |= ; //81
DDRG |= ; //82
DDRE |= 0x7f; //sets pin 83 as OUT
DDRE |= ; //84
DDRE |= 0x04; //sets digital pin 85 as an Output Pin
That’s all 16. I know that 0x04 = 2 and 0x7f = 7 but don’t know the others