Bonjour
Je débute en Arduino et j'ai un petit soucis de compil...
J'ai acheté le module microSD :
libelium.com/tienda/catalog/product_info.php?cPath=21&products_id=66
J'ai suivi les instructions notées ici :
Et je tombe sur les erreurs de compil :
mmc.h:48: error: 'byte' does not name a type
mmc.h:169: error: expected ',' or '...' before 'command'
mmc.h:169: error: ISO C++ forbids declaration of 'uint8_t' with no type
microfat.h:6: error: 'byte' does not name a type
microfat.h:10: error: 'uint32_t' does not name a type
etc...
J'ai trouvé sur le forum :
arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1232533589
J'ai ajouté #include <WProgram.h>dans le mmc.h, il me reste encore quelques erreurs avant de pouvoir compiler le programme :
WProgram.h:13: error: default argument given for parameter 3 of 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)'
WProgram.h:20: error: after previous specification in 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)'
Je dois loupé avoir loupé quelque chose. Si quelqu'un pouvait me venir en aide...
Merci d'avance
Olivier