Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino32X + keypad librairie
10-11-2011, 12:44 PM,
#7
RE: Pinguino32X + keypad librairie
Bon, comme je suis persévèrent, le code suivant se compile :
Code:
#include <keypad.h>

uchar keypad_rows = 4;
uchar keypad_columns = 4;

KeypadState state;
char currentKey;
unsigned long lastUpdate;
unsigned int debounceTime;
unsigned int holdTime;
void Keypad_setDebounceTime(unsigned int debounce);
void Keypad_setHoldTime(unsigned int hold);

char keypadmap[4][4] = {
  {'0','1','2','3'},
  {'4','5','6','7'},
  {'8','9','A','B'},
  {'C','D','E','F'}
};
unsigned char *rowPins = {3, 2, 1, 0}; //connect to the row pinouts of the keypad
unsigned char *columnPins = {7, 6, 5, 4}; //connect to the column pinouts of the keypad
void Keypad_transitionTo(KeypadState newState);
void Keypad_initializePins();
void Keypad_init(char *keypadmap, uchar *rowp, uchar *colp, uchar rows, uchar cols);


void setup ()
{
    Serial.begin(9600);
}

void loop ()
{

{
//Serial.printf(key);
    }    
}

Mais je ne sait pas quoi mettre dans le loop.

Help!!!
Reply


Messages In This Thread
Pinguino32X + keypad librairie - by j3r0m3 - 08-11-2011, 01:10 AM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 08-11-2011, 10:29 PM
RE: Pinguino32X + keypad librairie - by regis - 08-11-2011, 10:51 PM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 09-11-2011, 01:20 AM
RE: Pinguino32X + keypad librairie - by regis - 09-11-2011, 10:00 AM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 10-11-2011, 12:44 PM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 11-11-2011, 11:44 AM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 11-11-2011, 06:19 PM
RE: Pinguino32X + keypad librairie - by j3r0m3 - 12-11-2011, 02:40 PM
RE: Pinguino32X + keypad librairie - by malagas - 22-01-2013, 04:18 PM
RE: Pinguino32X + keypad librairie - by Cristobal - 16-06-2018, 04:44 PM
RE: Pinguino32X + keypad librairie - by Cristobal - 16-06-2018, 05:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)