seeeduino mega : 16 extra digital i/o

Rich;

I’ll give it a try sometime this weekend.

Thanks;

Lefty

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

hey , bumping
did anyone test this code? is it noob safe?

I have just purchased the Seeeduino Mega 2560. Has anyone completed the pins file?

Thank you for making the sincere attempt to discuss this. I feel fairly strong about it and would like to read more. If it’s OK, as you learn more in depth knowledge, would you mind adding more posts similar to this one with more information? It would be extremely helpful and useful for me.