test
RN42.h@0:30f62fde3cf4, 2013-12-16 (annotated)
- Committer:
- trisjph
- Date:
- Mon Dec 16 10:26:09 2013 +0000
- Revision:
- 0:30f62fde3cf4
intial;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
trisjph | 0:30f62fde3cf4 | 1 | #include "mbed.h" |
trisjph | 0:30f62fde3cf4 | 2 | |
trisjph | 0:30f62fde3cf4 | 3 | short RN42_init(void); |
trisjph | 0:30f62fde3cf4 | 4 | short RN42_reset(void); |
trisjph | 0:30f62fde3cf4 | 5 | short RN42_SPP(void); |
trisjph | 0:30f62fde3cf4 | 6 | short RN42_HID(void); |
trisjph | 0:30f62fde3cf4 | 7 | short RN42_key(char key); |
trisjph | 0:30f62fde3cf4 | 8 | short RN42_mouse(signed char x,signed char y); |
trisjph | 0:30f62fde3cf4 | 9 | short RN42_click(char l,char r,char m); |
trisjph | 0:30f62fde3cf4 | 10 | short RN42_specaial_key(char key); |
trisjph | 0:30f62fde3cf4 | 11 | void RN42_connect(void); |
trisjph | 0:30f62fde3cf4 | 12 | |
trisjph | 0:30f62fde3cf4 | 13 | #define INSERT_KEY 0x49 |
trisjph | 0:30f62fde3cf4 | 14 | #define HOME_KEY 0x4A |
trisjph | 0:30f62fde3cf4 | 15 | #define PAGE_UP_KEY 0x4B |
trisjph | 0:30f62fde3cf4 | 16 | #define DELETE_KEY 0x4C |
trisjph | 0:30f62fde3cf4 | 17 | #define END_KEY 0x4D |
trisjph | 0:30f62fde3cf4 | 18 | #define PAGE_DOWN_KEY 0x4E |
trisjph | 0:30f62fde3cf4 | 19 | #define RIGHT_ARROW_KEY 0x07 |
trisjph | 0:30f62fde3cf4 | 20 | #define BACKSPACE_KEY 0x2A |
trisjph | 0:30f62fde3cf4 | 21 | #define TAB_KEY 0x2B |
trisjph | 0:30f62fde3cf4 | 22 | #define ENTER_KEY 0x28 |
trisjph | 0:30f62fde3cf4 | 23 | #define LEFT_ARROW_KEY 0x0B |
trisjph | 0:30f62fde3cf4 | 24 | #define DOWN_ARROW_KEY 0x0C |
trisjph | 0:30f62fde3cf4 | 25 | #define UP_ARROW_KEY 0x0E |
trisjph | 0:30f62fde3cf4 | 26 | #define F1_KEY 0x3A |
trisjph | 0:30f62fde3cf4 | 27 | #define F2_KEY 0x3B |
trisjph | 0:30f62fde3cf4 | 28 | #define F3_KEY 0x3C |
trisjph | 0:30f62fde3cf4 | 29 | #define F4_KEY 0x3D |
trisjph | 0:30f62fde3cf4 | 30 | #define F5_KEY 0x3E |
trisjph | 0:30f62fde3cf4 | 31 | #define F6_KEY 0x3F |
trisjph | 0:30f62fde3cf4 | 32 | #define F7_KEY 0x40 |
trisjph | 0:30f62fde3cf4 | 33 | #define F8_KEY 0x41 |
trisjph | 0:30f62fde3cf4 | 34 | #define F9_KEY 0x42 |
trisjph | 0:30f62fde3cf4 | 35 | #define F10_KEY 0x43 |
trisjph | 0:30f62fde3cf4 | 36 | #define F11_KEY 0x44 |
trisjph | 0:30f62fde3cf4 | 37 | #define F12_KEY 0x45 |
trisjph | 0:30f62fde3cf4 | 38 | #define ESCAPE_KEY 0x29 |
trisjph | 0:30f62fde3cf4 | 39 | #define CAPS_LOCK_KEY 0x39 |
trisjph | 0:30f62fde3cf4 | 40 | #define SCROLL_LOCK_KEY 0x47 |
trisjph | 0:30f62fde3cf4 | 41 | #define BREAK_PAUSE_KEY 0x48 |
trisjph | 0:30f62fde3cf4 | 42 | #define NUM_LOCK_KEY 0x53 |
trisjph | 0:30f62fde3cf4 | 43 | #define LEFT_CTRL_KEY 0xE0 |
trisjph | 0:30f62fde3cf4 | 44 | #define LEFT_SHIFT_KEY 0xE1 |
trisjph | 0:30f62fde3cf4 | 45 | #define LEFT_ALT_KEY 0xE2 |
trisjph | 0:30f62fde3cf4 | 46 | #define RIGHT_CTRL_KEY 0xE4 |
trisjph | 0:30f62fde3cf4 | 47 | #define RIGHT_SHIFT_KEY 0xE5 |
trisjph | 0:30f62fde3cf4 | 48 | #define RIGHT_ALT_KEY 0xE6 |
trisjph | 0:30f62fde3cf4 | 49 | |
trisjph | 0:30f62fde3cf4 | 50 | |
trisjph | 0:30f62fde3cf4 | 51 | |
trisjph | 0:30f62fde3cf4 | 52 | |
trisjph | 0:30f62fde3cf4 | 53 |