Minikombajn Pomiarowy
20
Main Page
Files
File List
Globals
All
Files
Functions
Variables
Macros
Keyboard.h
Go to the documentation of this file.
1
/******************************************************************/
9
void
KeybInit
(
void
);
10
int16_t
ShiftValue
(uint8_t key, int16_t val,
const
int16_t min,
const
int16_t max, uint8_t step,
const
uint8_t key1,
const
uint8_t key2);
11
uint8_t
Keyboard
(
void
);
12
13
//definicje wyprowadzen
14
#define KEYB_PORT PORTC
15
#define PORTK1 PORTB
16
#define PINK1 1
17
#define PORTK2 PORTK1
18
#define PINK2 3
19
20
//kody przyciskow
21
#define P_LEFT 1
22
#define P_RIGHT 2
23
#define P_OK 4
24
#define P_UP 8
25
#define P_DOWN 16
26
#define P_EXIT 32
27
#define P_DIV 64
28
#define P_XY 96
29
#define P_TRIG 128
30
#define P_CURS 160
Generated on Tue Feb 19 2013 21:18:48 for Minikombajn Pomiarowy by
1.8.1.2