Buongiorno, sto provando a far funzionare il modulo microSD della libelium
http://www.cooking-hacks.com/index.php/microsd-2gb-module-for-arduino.html
ho scaricato la libreria indicata per arduino mega e ho seguito le indicazioni per il collegamento.
Il problema è però in fase di compilazione: mi da i seguenti errori:
In file included from C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/SDuFAT.h:34,
from SD_uFAT_basic.pde:122:
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:52: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:53: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:54: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:129: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:146: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:147: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/mmc.h:163: error: 'byte' does not name a type
In file included from C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/SDuFAT.h:35,
from SD_uFAT_basic.pde:122:
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:8: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:9: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:10: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:11: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:19: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:22: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:24: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:27: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:34: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:35: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:36: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:40: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:41: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:48: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:49: error: 'byte' does not name a type
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:60: error: 'byte' was not declared in this scope
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/microfat.h:60: error: 'buffer' was not declared in this scope
In file included from SD_uFAT_basic.pde:122:
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/SDuFAT.h:117: error: 'byte' has not been declared
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/SDuFAT.h:120: error: 'byte' has not been declared
C:\Users\Gio\Documents\Arduino\libraries\SDuFAT/SDuFAT.h:127: error: 'byte' has not been declared
La versione di Arduino è la 1.0.5