On an Arduino MEGA (1260) Can Pins 0&1 be Used as Regular Digital Outs w/Write??

On an Arduino MEGA (1260) Can Pins 0&1 be Used as Regular Digital Outs w/ the command "digitalWrite()"??

it seems: clic

On an Arduino MEGA (1260) Can Pins 0&1 be Used as Regular Digital Outs w/ the command "digitalWrite()"??

Why do you think they cannot?

Don

Never heard of a Arduino Mega1260 ?

Lefty

Assuming you meant 1280, yes they can with the caveat that the Rx pin is pulled high most of the time through a 1k resistor and Tx will probably cause the FTDI chip to transmit crap on the USB.

But with 54 IO lines why on earth would you need to use these pins?


Rob

But with 54 IO lines why on earth would you need to use these pins?


Rob

i'm making a 999 (maybe even 101010) BI-Color LED cube

i'm making a 999 (maybe even 101010) BI-Color LED cube

Well in theory you only need 9+9+9 pins for 27 pins for direct control, and a 1280 (1260?) has more then enough even without using pins 0&1, but that is not how most cubes are driven.

What you need are external shift registers for the 9x9 (or 10x10) part, requiring only 3 arduino output pin, plus 9 (or 10) more output pins for the level drivers, for a total of 12 (or 13) Arduino pins. That could be done with even a 328 board.

Also I think cubes with odd numbers of elements have better 'artistic' capablities as you have a true center for every surface.

Lefty

retrolefty:

i'm making a 999 (maybe even 101010) BI-Color LED cube

What you need are external shift registers for the 9x9 (or 10x10) part, requiring only 3 arduino output pin, plus 9 (or 10) more output pins for the level drivers, for a total of 12 (or 13) Arduino pins. That could be done with even a 328 board.

i thought that i needed (81 * 2) = 162 shift register Output pins for all the bi-color coloums, needing a total of 20 8-bit shift registers (74hc595's)(plus 2 arduino pins) they would need 3 arduino digital output pins for every 2 shift registers. adding this to the 9 arduino layer pins whould mean i need ((20 / 2) * 3) + 2 + 9 = 41 digital output pins total

ps the reason i said 1260 instead of 1280 was because i had to look on my mega's chip for the #...
also to lefty i'm making a 9cube because of your comment up there i agree 100% w/ u