Hi
I have a small problem with start up POLARGRAPH with SD card. Configuration: Arduino MEGA with Adafruit Motorshield 1 (v1.2), than I have 2x NEMA17 motors and finally SD card shield (something like LC studio). I have the SD card shield connected to the MEGA controllel, and it is working - I have check it with another sketch that is using SD card. Problem is that, I can not to make SD card active with POLARGRAPH sketch. (polargraph_server_a1). Please let me know, if I have to make some changes in sketch only in the part as follow:
// 1. Specify what kind of controller board you are using
// ======================================================
// UNO or MEGA. Uncomment the line for the kind of board you have.
#ifndef MICROCONTROLLER
//#define MICROCONTROLLER MC_UNO
#define MICROCONTROLLER MC_MEGA
#endif
// 2. Add some libraries if you have a MEGA
// ========================================
// Uncomment the SPI and SD lines below if you have a MEGA.
// http://forum.arduino.cc/index.php?topic=173584.0
#include <SPI.h>
#include <SD.h>
or I have to change something more ? Thanks in advance.
|