Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
RN42.h
00001 #include "mbed.h" 00002 00003 short RN42_init(void); 00004 short RN42_reset(void); 00005 short RN42_SPP(void); 00006 short RN42_HID(void); 00007 short RN42_key(char key); 00008 short RN42_mouse(signed char x,signed char y); 00009 short RN42_click(char l,char r,char m); 00010 short RN42_specaial_key(char key); 00011 void RN42_connect(void); 00012 00013 #define INSERT_KEY 0x49 00014 #define HOME_KEY 0x4A 00015 #define PAGE_UP_KEY 0x4B 00016 #define DELETE_KEY 0x4C 00017 #define END_KEY 0x4D 00018 #define PAGE_DOWN_KEY 0x4E 00019 #define RIGHT_ARROW_KEY 0x07 00020 #define BACKSPACE_KEY 0x2A 00021 #define TAB_KEY 0x2B 00022 #define ENTER_KEY 0x28 00023 #define LEFT_ARROW_KEY 0x0B 00024 #define DOWN_ARROW_KEY 0x0C 00025 #define UP_ARROW_KEY 0x0E 00026 #define F1_KEY 0x3A 00027 #define F2_KEY 0x3B 00028 #define F3_KEY 0x3C 00029 #define F4_KEY 0x3D 00030 #define F5_KEY 0x3E 00031 #define F6_KEY 0x3F 00032 #define F7_KEY 0x40 00033 #define F8_KEY 0x41 00034 #define F9_KEY 0x42 00035 #define F10_KEY 0x43 00036 #define F11_KEY 0x44 00037 #define F12_KEY 0x45 00038 #define ESCAPE_KEY 0x29 00039 #define CAPS_LOCK_KEY 0x39 00040 #define SCROLL_LOCK_KEY 0x47 00041 #define BREAK_PAUSE_KEY 0x48 00042 #define NUM_LOCK_KEY 0x53 00043 #define LEFT_CTRL_KEY 0xE0 00044 #define LEFT_SHIFT_KEY 0xE1 00045 #define LEFT_ALT_KEY 0xE2 00046 #define RIGHT_CTRL_KEY 0xE4 00047 #define RIGHT_SHIFT_KEY 0xE5 00048 #define RIGHT_ALT_KEY 0xE6 00049 00050 00051 00052 00053
Generated on Thu Aug 4 2022 07:09:14 by
