salut , je vien d'acheter un clavier et une arduino , je compte les brancher ensemble , j'ai consulté le site arduino pour voir comment ecrire le programme , mais quand je vérifie avec l'application arduino il m'affiche :
no matching function for call to 'Keypad::Keypad(char*, byte [4], byte [3], const byte&, const byte&)' Le code est celui d'arduino c'est celui la :
#include <Keypad.h>
const byte ROWS = 4; //four rows
const byte COLS = 3; //four columns
char keys[ROWS][COLS] = {
{'1','2','3'},
{'4','5','6'},
{'7','8','9'},
{'#','0','*'}
};
byte rowPins[ROWS] = {5, 4, 3, 2}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {8, 7, 6}; //connect to the column pinouts of the keypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); // c'est ici qu'il y'a la faute
void setup(){
Serial.begin(9600);
}
void loop(){
char key = keypad.getKey();
if (key != NO_KEY){
Serial.println(key);
}
}
PS : j'ai utilisé arduino 1.0 et 1.0.3
Aider moi s'il vous plait
