152
Libraries
© 2008 Conrad Electronic
void main(void)
{
cnt=
0
;
Irq_SetVect(INT_TIM2COMP,ISR);
while(true);
// endless loop
}
6.10
Keyboard
One part of these keyboard routines is implemented in the Interpreter, another can be called up after
appending library "LCD_Lib.cc". Since the functions in
"LCD_Lib.cc" are realized through Bytecode they are slower when executed. Library functions
however have the advantage that they can be taken from the project by omitting the library in case
they are not needed. Direct Interpreter functions are always present, will however take up flash
memory.
6.10.1 Key_Init
Keyboard Functions
(Library "
Key_Lib.cc
")
Syntax
void Key_Init(void);
Sub Key_Init()
Description
The global keymap array gets initialized with the ASCII values of the keyboard.
Parameter
None
6.10.2 Key_Scan
Keyboard Functions
Syntax
word Key_Scan(void);
Sub Key_Scan() As Word
Description
Key_Scan scans sequentially the input pins of the connected keyboard and returns the result as a bit field
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......