Page 3 of 3

Re: seeeduino mega : 16 extra digital i/o

Posted: Sat Dec 26, 2009 1:31 am
by leftyretro
Rich;

I'll give it a try sometime this weekend.

Thanks;

Lefty

Re: seeeduino mega : 16 extra digital i/o

Posted: Tue Dec 14, 2010 6:40 am
by mcgee11
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

Re: seeeduino mega : 16 extra digital i/o

Posted: Mon Jan 16, 2012 5:46 am
by yair99
hey , bumping
did anyone test this code? is it noob safe?

Re: seeeduino mega : 16 extra digital i/o

Posted: Tue Jul 10, 2012 1:32 pm
by kd7eir
I have just purchased the Seeeduino Mega 2560. Has anyone completed the pins file?

Re: seeeduino mega : 16 extra digital i/o

Posted: Fri Jul 12, 2013 11:47 pm
by lancecreed5
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.