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.
uart1.h
00001 00002 #define SEND_DATA_NUM 14 00003 #define RECEIVE_DATA_NUM 6 00004 00005 #define KEYCODE 120 00006 #define CHECKCODE (SendData0[DIRECTIONN] ^ SendData0[DISTANCE] ^ SendData0[SONIC1_1] ^ SendData0[SONIC1_2] ^ SendData0[SONIC2_1] ^ SendData0[SONIC2_2] ^ SendData0[SONIC3_1] ^ SendData0[SONIC3_2] ^ SendData0[SONIC4_1] ^ SendData0[SONIC4_2] ^ SendData0[IR_FOUND] ^ SendData0[XBEE]) 00007 #define KEYCODE2 35 00008 #define CHECKCODE2 (RecData[DATA1] ^ RecData[DATA2] ^ RecData[DATA3] ^ RecData[DATA4]) 00009 00010 00011 enum{ 00012 KEY = 0, 00013 DIRECTIONN, 00014 DISTANCE, 00015 SONIC1_1, 00016 SONIC1_2, 00017 SONIC2_1, 00018 SONIC2_2, 00019 SONIC3_1, 00020 SONIC3_2, 00021 SONIC4_1, 00022 SONIC4_2, 00023 IR_FOUND, 00024 XBEE, 00025 CHECK, 00026 }; 00027 00028 enum{ 00029 KEY2 = 0, 00030 DATA1, 00031 DATA2, 00032 DATA3, 00033 DATA4, 00034 CHECK2, 00035 };
Generated on Tue Jul 12 2022 12:46:47 by
1.7.2