hi,
i m try to write on my sd card connected with resistor to arduino
i try this : http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/0
but i have may errors at compiling :
arduino sd card example.cpp:1:30: error: sd-reader_config.h: No such file or directory
arduino sd card example.cpp:2:20: error: sd_raw.h: No such file or directory
arduino sd card example.cpp:3:27: error: sd_raw_config.h: No such file or directory
arduino sd card example.cpp:13: error: 'byte' does not name a type
arduino sd card example.cpp:16: error: 'byte' does not name a type
arduino sd card example.cpp: In function 'void setup()':
arduino sd card example.cpp:22: error: 'Serial' was not declared in this scope
arduino sd card example.cpp:23: error: 'delay' was not declared in this scope
arduino sd card example.cpp:26: error: 'sd_raw_init' was not declared in this scope
arduino sd card example.cpp: In function 'void loop()':
arduino sd card example.cpp:39: error: 'Serial' was not declared in this scope
arduino sd card example.cpp:41: error: 'incomingByte' was not declared in this scope
arduino sd card example.cpp: In function 'int sample()':
arduino sd card example.cpp:61: error: 'byte' was not declared in this scope
arduino sd card example.cpp:61: error: expected ;' before 'low' arduino sd card example.cpp:62: error: expected
;' before 'high'
arduino sd card example.cpp:63: error: expected ;' before 'inByte' arduino sd card example.cpp:65: error: 'Serial' was not declared in this scope arduino sd card example.cpp:72: error: 'inByte' was not declared in this scope arduino sd card example.cpp:75: error: 'analogRead' was not declared in this scope arduino sd card example.cpp:76: error: 'DEC' was not declared in this scope arduino sd card example.cpp:80: error: 'low' was not declared in this scope arduino sd card example.cpp:81: error: 'high' was not declared in this scope arduino sd card example.cpp:86: error: 'tempBytes' was not declared in this scope arduino sd card example.cpp:89: error: 'sd_raw_write' was not declared in this scope arduino sd card example.cpp:94: error: 'delay' was not declared in this scope arduino sd card example.cpp: In function 'int readDisk()': arduino sd card example.cpp:106: error: 'byte' was not declared in this scope arduino sd card example.cpp:106: error: expected
;' before 'low'
arduino sd card example.cpp:107: error: expected ;' before 'high' arduino sd card example.cpp:108: error: expected
;' before 'info'
arduino sd card example.cpp:111: error: 'Serial' was not declared in this scope
arduino sd card example.cpp:114: error: 'info' was not declared in this scope
arduino sd card example.cpp:114: error: 'sd_raw_read' was not declared in this scope
arduino sd card example.cpp:119: error: 'low' was not declared in this scope
arduino sd card example.cpp:120: error: 'high' was not declared in this scope
arduino sd card example.cpp:124: error: 'DEC' was not declared in this scope
arduino sd card example.cpp: In function 'void printWelcome()':
arduino sd card example.cpp:132: error: 'Serial' was not declared in this scope
arduino sd card example.cpp: In function 'int print_disk_info()':
arduino sd card example.cpp:146: error: aggregate 'sd_raw_info disk_info' has incomplete type and cannot be defined
arduino sd card example.cpp:147: error: 'sd_raw_get_info' was not declared in this scope
arduino sd card example.cpp:153: error: 'Serial' was not declared in this scope
arduino sd card example.cpp:155: error: 'HEX' was not declared in this scope
arduino sd card example.cpp:161: error: 'DEC' was not declared in this scope
What does it mean?
I have copied the library SDcard in libraries
my board is the mega 1280