![]() ![]() This example code is in the public domain. * SD card attached to SPI bus as follows: This example shows how to read and write data to and from an SD card file Once the Arduino Uno was plugged in and powering, aswell as the Mega, and opened the ReadWrite and launched the program, making sure the "Mega 2560 or Mega ADK" board was selected, and the serial port was correct (For me, COM4). ![]() Did that, and I still get an "initialization failed!". I then read that I have to attatch pins 11,12,13 to Mega's 50,51,52, did that, and then attatch the SS pin, which on the Uno is pin 10, to the Mega's pin 53. Once I got home, I thought, okay, I'll align the pins accordingly, did that, got a "initialization failed!" from the ReadWrite example for SD Cards (It works on my Uno just fine). I bought the Mega thinking I would be able to carry my SD Card Shield (Seeedstudio 3.0 I believe) to work on my new Mega. ![]() I have two Arduinos, an Uno REV2, and the Mega REV3. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |