8x8x8 multiplexed LED cube with an Arduino Mega 2560

dc42:

CrossRoads:
Seems to be a logic level part
http://www.irf.com/product-info/datasheets/data/irf9540n.pdf

No, it is most definitely not a logic level part. Rds(on) is quoted at Vgs=10V only. It might just work @ 1.28A, it depends on whether the part you get has a higher or lower than normal gate threshold voltage, whether the 5V supply is a little higher or lower than normal, and on the temperature. Bad choice for this project.

heh, well, I guess I have 10 of them I wont be able to use. I wish someone had posted something like that in my thread a few weeks ago when I asked. nobody posted anything one way or another, so i looked around at parts that I could order, and those seemed like the right option, but I guess I should get some of the ones you posted earlier.

If I do some 12v stuff (like putting LEDs on cars), would the be good for that?