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.
Dependencies: mbed mbed-dsp drive
Revision 0:662138e6d294, committed 2020-05-31
- Comitter:
- NoFederation
- Date:
- Sun May 31 07:27:40 2020 +0000
- Commit message:
- SAAS
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drive.lib Sun May 31 07:27:40 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/NoFederation/code/drive/#d4098155fec1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/logo.h Sun May 31 07:27:40 2020 +0000
@@ -0,0 +1,551 @@
+static const unsigned char str_xin[] = {
+0x08,0x40,0x08,0x20,0x0B,0xFE,0x10,0x00,
+0x10,0x00,0x31,0xFC,0x30,0x00,0x50,0x00,
+0x91,0xFC,0x10,0x00,0x10,0x00,0x11,0xFC,
+0x11,0x04,0x11,0x04,0x11,0xFC,0x11,0x04/*"信",0*/
+};
+
+static const unsigned char str_hao[] = {
+0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,
+0x10,0x10,0x1F,0xF0,0x00,0x00,0xFF,0xFE,
+0x08,0x00,0x10,0x00,0x1F,0xF0,0x00,0x10,
+0x00,0x10,0x00,0x10,0x00,0xA0,0x00,0x40/*"号",1*/
+};
+
+static const unsigned char str3[] = {
+0x01,0x00,0x11,0x00,0x11,0x00,0x11,0x00,
+0x3F,0xFC,0x21,0x00,0x41,0x00,0x81,0x00,
+0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x00,
+0x01,0x00,0x01,0x00,0xFF,0xFE,0x00,0x00/*"生",2*/
+};
+
+static const unsigned char str4[] = {
+0x00,0x50,0x00,0x48,0x00,0x40,0x3F,0xFE,
+0x20,0x40,0x20,0x40,0x20,0x44,0x3E,0x44,
+0x22,0x44,0x22,0x28,0x22,0x28,0x22,0x12,
+0x2A,0x32,0x44,0x4A,0x40,0x86,0x81,0x02/*"成",3*/
+};
+
+
+static const unsigned char str5[] = {
+0x07,0xC0,0x18,0x30,0x20,0x08,0x41,0x04,
+0x43,0x04,0x85,0x02,0x81,0x02,0x81,0x02,
+0x81,0x02,0x81,0x02,0x41,0x04,0x41,0x04,
+0x20,0x08,0x18,0x30,0x07,0xC0,0x00,0x00,/*"①",0*/
+};
+
+
+static const unsigned char str2_1[] = {
+0x07,0xC0,0x18,0x30,0x20,0x08,0x43,0x84,
+0x44,0x44,0x80,0x42,0x80,0x42,0x80,0x82,
+0x81,0x02,0x82,0x02,0x44,0x04,0x47,0xC4,
+0x20,0x08,0x18,0x30,0x07,0xC0,0x00,0x00/*"②",0*/
+};
+
+static const unsigned char str2_2[] = {
+0x00,0x40,0x20,0x7C,0x10,0x40,0x17,0xFE,
+0x84,0x42,0x44,0x70,0x47,0xC4,0x14,0x44,
+0x14,0x3C,0x24,0x20,0xE4,0x10,0x24,0x54,
+0x25,0x42,0x29,0x42,0x29,0x4A,0x12,0x38/*"滤",1*/
+
+};
+static const unsigned char str2_3[] = {
+0x00,0x20,0x20,0x20,0x10,0x20,0x13,0xFE,
+0x82,0x22,0x42,0x24,0x4A,0x20,0x0B,0xFC,
+0x12,0x84,0x12,0x88,0xE2,0x48,0x22,0x50,
+0x22,0x20,0x24,0x50,0x24,0x88,0x09,0x06/*"波",2*/
+};
+static const unsigned char str2_4[] = {
+0x00,0x00,0x3E,0x7C,0x22,0x44,0x22,0x44,
+0x3E,0x7C,0x01,0x20,0x01,0x10,0xFF,0xFE,
+0x02,0x80,0x0C,0x60,0x30,0x18,0xC0,0x06,
+0x3E,0x7C,0x22,0x44,0x22,0x44,0x3E,0x7C/*"器",3*/
+};
+static const unsigned char str2_5[] = {
+0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,
+0x88,0x84,0x04,0x80,0x04,0x80,0x10,0x80,
+0x08,0x80,0x08,0x80,0xFF,0xFE,0x01,0x40,
+0x02,0x20,0x04,0x10,0x18,0x08,0x60,0x04/*"实",4*/
+};
+static const unsigned char str2_6[] = {
+0x00,0x00,0x01,0xFC,0xFD,0x04,0x11,0x04,
+0x11,0x24,0x11,0x24,0x11,0x24,0x7D,0x24,
+0x11,0x24,0x11,0x54,0x10,0x50,0x10,0x90,
+0x1C,0x90,0xE1,0x12,0x42,0x12,0x04,0x0E/*"现",5*/
+};
+
+static const unsigned char str3_1[] = {
+0x07,0xC0,0x18,0x30,0x20,0x08,0x47,0xC4,
+0x40,0x44,0x80,0x82,0x81,0x02,0x83,0x02,
+0x80,0x82,0x80,0x42,0x44,0x44,0x43,0x84,
+0x20,0x08,0x18,0x30,0x07,0xC0,0x00,0x00/*"③",0*/
+};
+
+static const unsigned char str3_2[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xE0,
+0x02,0x10,0x02,0x40,0x02,0x40,0x03,0xC0,
+0x02,0x40,0x02,0x40,0x02,0x00,0x02,0x00,
+0x02,0x00,0x07,0x00,0x00,0x00,0x00,0x00,/*"F",0*/
+};
+
+static const unsigned char str3_3[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xF0,
+0x04,0x90,0x00,0x80,0x00,0x80,0x00,0x80,
+0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,
+0x00,0x80,0x01,0xC0,0x00,0x00,0x00,0x00,/*"T",0*/
+};
+
+static const unsigned char str_bian[] = {
+0x02,0x00,0x01,0x00,0xFF,0xFE,0x04,0x40,
+0x14,0x50,0x24,0x48,0x44,0x44,0x00,0x00,
+0x3F,0xF0,0x08,0x20,0x04,0x40,0x02,0x80,
+0x01,0x00,0x06,0xC0,0x18,0x30,0xE0,0x0E,/*"变",1*/
+};
+
+static const unsigned char str_huan[] = {
+0x10,0x80,0x10,0x80,0x10,0xF8,0x11,0x08,
+0xFA,0x10,0x15,0xFC,0x11,0x24,0x19,0x24,
+0x31,0x24,0xD1,0x24,0x17,0xFE,0x10,0x50,
+0x10,0x50,0x10,0x88,0x51,0x04,0x26,0x02,/*"换",2*/
+};
+
+static const unsigned char str4_1[] = {
+0x07,0xC0,0x18,0x30,0x20,0x08,0x41,0x04,
+0x42,0x04,0x82,0x02,0x84,0x82,0x84,0x82,
+0x88,0x82,0x8F,0xE2,0x40,0x84,0x40,0x84,
+0x20,0x08,0x18,0x30,0x07,0xC0,0x00,0x00,/*"④",0*/
+
+};
+
+static const unsigned char str4_2[] = {
+0x02,0x00,0x01,0x00,0x3F,0xF8,0x00,0x00,
+0x08,0x20,0x04,0x40,0xFF,0xFE,0x00,0x00,
+0x1F,0xF0,0x10,0x10,0x10,0x10,0x1F,0xF0,
+0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,/*"音",1*/
+};
+static const unsigned char str4_3[] = {
+0x10,0x00,0x11,0xFE,0x50,0x20,0x5C,0x40,
+0x51,0xFC,0x51,0x04,0xFF,0x24,0x01,0x24,
+0x11,0x24,0x55,0x24,0x55,0x24,0x55,0x44,
+0x84,0x50,0x08,0x88,0x31,0x04,0xC2,0x02,/*"频",2*/
+};
+static const unsigned char str4_4[] = {
+
+0x00,0x10,0x00,0xF8,0x3F,0x00,0x02,0x00,
+0x11,0x10,0x09,0x10,0x08,0x20,0x01,0x00,
+0x7F,0xFC,0x03,0x80,0x05,0x40,0x09,0x20,
+0x11,0x10,0x21,0x08,0xC1,0x06,0x01,0x00,/*"采",3*/
+};
+static const unsigned char str4_5[] = {
+
+0x09,0x00,0x08,0x80,0x1F,0xFC,0x30,0x80,
+0x5F,0xF8,0x90,0x80,0x1F,0xF8,0x10,0x80,
+0x1F,0xFC,0x11,0x00,0xFF,0xFE,0x05,0x40,
+0x09,0x20,0x31,0x18,0xC1,0x06,0x01,0x00,/*"集",4*/
+};
+
+static const unsigned char str5_1[] = {
+0x03,0x00,0x01,0x80,0x7F,0xFF,0x60,0x03,
+0xCC,0xC6,0x06,0xC0,0x06,0xC0,0x18,0xC0,
+0x0C,0xC0,0x0C,0xC0,0xFF,0xFF,0x01,0xE0,
+0x03,0x30,0x06,0x18,0x1C,0x0C,0x70,0x06,/*"实",0*/
+
+};
+
+static const unsigned char str5_2[] = {
+0x00,0x30,0xFC,0x30,0x0C,0x78,0x6C,0x78,
+0x6C,0xCC,0x6D,0x86,0x6F,0xFF,0x7E,0x00,
+0x06,0x66,0x06,0x36,0x1F,0xB6,0xF6,0xFC,
+0x66,0xCC,0x06,0x18,0x3F,0xFF,0x18,0x00,/*"验",1*/
+};
+static const unsigned char str5_3[] = {
+0x00,0x00,0x7F,0xFE,0x01,0x80,0x01,0x80,
+0x19,0x98,0x0D,0x98,0x0D,0xB0,0x01,0x80,
+0xFF,0xFF,0x01,0x80,0x01,0x80,0x01,0x80,
+0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,/*"平",2*/
+};
+static const unsigned char str5_4[] = {
+0x03,0x00,0x03,0x00,0x06,0x00,0x0C,0x30,
+0x18,0x18,0x30,0x0C,0x7F,0xFE,0x30,0x06,
+0x00,0x00,0x1F,0xF8,0x18,0x18,0x18,0x18,
+0x18,0x18,0x18,0x18,0x1F,0xF8,0x18,0x18,/*"台",3*/
+};
+
+static const unsigned char str5_5[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xC0,
+0x06,0x60,0x06,0x30,0x06,0x30,0x06,0x30,
+0x06,0x30,0x06,0x30,0x06,0x30,0x06,0x30,
+0x06,0x60,0x0F,0xC0,0x00,0x00,0x00,0x00,/*"D",0*/
+};
+
+static const unsigned char str5_6[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xF0,
+0x06,0x30,0x06,0x30,0x06,0x00,0x03,0x00,
+0x01,0xC0,0x00,0x60,0x00,0x30,0x06,0x30,
+0x06,0x30,0x07,0xE0,0x00,0x00,0x00,0x00,/*"S",1*/
+};
+
+static const unsigned char str5_7[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,
+0x06,0x30,0x06,0x30,0x06,0x30,0x06,0x30,
+0x07,0xE0,0x06,0x00,0x06,0x00,0x06,0x00,
+0x06,0x00,0x0F,0x00,0x00,0x00,0x00,0x00,/*"P",2*/
+};
+
+
+
+static const unsigned char arrow[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x80,0x00,0x60,0x00,0x38,0xFF,0xFE,
+0x00,0x38,0x00,0x60,0x00,0x80,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*"→",0*/
+};
+
+static const unsigned char blank[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",1*/
+};
+
+static const unsigned char str_qing[] = {
+0x00,0x40,0x40,0x40,0x27,0xFC,0x20,0x40,
+0x03,0xF8,0x00,0x40,0xE7,0xFE,0x20,0x00,
+0x23,0xF8,0x22,0x08,0x23,0xF8,0x22,0x08,
+0x2B,0xF8,0x32,0x08,0x22,0x28,0x02,0x10,/*"请",0*/
+};
+
+static const unsigned char str_shu[] = {
+0x20,0x40,0x20,0xA0,0x21,0x10,0xFA,0x08,
+0x25,0xF6,0x40,0x00,0x53,0xC4,0x92,0x54,
+0xFA,0x54,0x13,0xD4,0x1A,0x54,0xF2,0x54,
+0x53,0xD4,0x12,0x44,0x12,0x54,0x12,0xC8,/*"输",1*/
+};
+
+static const unsigned char str_ru[] = {
+0x04,0x00,0x02,0x00,0x01,0x00,0x01,0x00,
+0x01,0x00,0x02,0x80,0x02,0x80,0x02,0x80,
+0x04,0x40,0x04,0x40,0x08,0x20,0x08,0x20,
+0x10,0x10,0x20,0x10,0x40,0x08,0x80,0x06,/*"入",2*/
+};
+
+static const unsigned char str_pin[] = {
+0x10,0x00,0x11,0xFE,0x50,0x20,0x5C,0x40,
+0x51,0xFC,0x51,0x04,0xFF,0x24,0x01,0x24,
+0x11,0x24,0x55,0x24,0x55,0x24,0x55,0x44,
+0x84,0x50,0x08,0x88,0x31,0x04,0xC2,0x02,/*"频",3*/
+};
+static const unsigned char str_fu[] = {
+0x10,0x00,0x10,0x00,0x1F,0xFC,0x20,0x00,
+0x5F,0xF0,0x90,0x10,0x1F,0xF0,0x10,0x10,
+0x1F,0xF0,0x04,0x00,0x0F,0xF0,0x18,0x20,
+0x64,0x40,0x03,0x80,0x1C,0x70,0xE0,0x0E,/*"复",0*/
+
+};
+
+static const unsigned char str_lv[] = {
+0x02,0x00,0x01,0x00,0x7F,0xFC,0x02,0x00,
+0x44,0x44,0x2F,0x88,0x11,0x10,0x22,0x48,
+0x4F,0xE4,0x00,0x20,0x01,0x00,0xFF,0xFE,
+0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,/*"率",4*/
+};
+static const unsigned char str_fu2[] = {
+0x10,0x00,0x11,0xFE,0x10,0x00,0x7C,0xF8,
+0x54,0x88,0x54,0x88,0x54,0xF8,0x54,0x00,
+0x55,0xFC,0x55,0x24,0x55,0x24,0x5D,0xFC,
+0x11,0x24,0x11,0x24,0x11,0xFC,0x11,0x04,/*"幅",5*/
+
+};
+static const unsigned char str_du[] = {
+
+0x01,0x00,0x00,0x80,0x3F,0xFE,0x22,0x20,
+0x22,0x20,0x3F,0xFC,0x22,0x20,0x22,0x20,
+0x23,0xE0,0x20,0x00,0x2F,0xF0,0x24,0x10,
+0x42,0x20,0x41,0xC0,0x86,0x30,0x38,0x0E,/*"度",6*/
+};
+
+static const unsigned char str_zheng[] = {
+0x00,0x00,0x7F,0xFC,0x01,0x00,0x01,0x00,
+0x01,0x00,0x01,0x00,0x11,0x00,0x11,0xF8,
+0x11,0x00,0x11,0x00,0x11,0x00,0x11,0x00,
+0x11,0x00,0x11,0x00,0xFF,0xFE,0x00,0x00,/*"正",0*/
+};
+
+static const unsigned char str_zai[] = {
+0x02,0x00,0x02,0x00,0x04,0x00,0xFF,0xFE,
+0x08,0x00,0x08,0x40,0x10,0x40,0x30,0x40,
+0x57,0xFC,0x90,0x40,0x10,0x40,0x10,0x40,
+0x10,0x40,0x10,0x40,0x1F,0xFE,0x10,0x00,/*"在",1*/
+};
+
+static const unsigned char str_shang[] = {
+0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,
+0x02,0x00,0x02,0x00,0x03,0xF8,0x02,0x00,
+0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,
+0x02,0x00,0x02,0x00,0xFF,0xFE,0x00,0x00,/*"上",2*/
+};
+
+static const unsigned char str_chuan[] = {
+0x08,0x40,0x08,0x40,0x08,0x40,0x13,0xF8,
+0x10,0x40,0x30,0x80,0x37,0xFE,0x50,0x80,
+0x91,0x00,0x13,0xF8,0x10,0x08,0x11,0x10,
+0x10,0xA0,0x10,0x40,0x10,0x20,0x10,0x20,/*"传",3*/
+};
+
+static const unsigned char str_shu2[] = {
+0x08,0x20,0x49,0x20,0x2A,0x20,0x08,0x3E,
+0xFF,0x44,0x2A,0x44,0x49,0x44,0x88,0xA4,
+0x10,0x28,0xFE,0x28,0x22,0x10,0x42,0x10,
+0x64,0x28,0x18,0x28,0x34,0x44,0xC2,0x82,/*"数",4*/
+};
+
+static const unsigned char str_ju[] = {
+0x20,0x00,0x23,0xFC,0x22,0x04,0x22,0x04,
+0xFB,0xFC,0x22,0x20,0x22,0x20,0x2B,0xFE,
+0x32,0x20,0xE2,0x20,0x22,0xFC,0x22,0x84,
+0x22,0x84,0x24,0x84,0xA4,0xFC,0x48,0x84,/*"据",5*/
+};
+
+static const unsigned char str_wan[] = {
+0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,
+0x80,0x04,0x1F,0xF0,0x00,0x00,0x00,0x00,
+0x7F,0xFC,0x04,0x40,0x04,0x40,0x04,0x40,
+0x08,0x44,0x08,0x44,0x10,0x44,0x60,0x3C,/*"完",6*/
+};
+
+static const unsigned char str_cheng[] = {
+0x00,0x50,0x00,0x48,0x00,0x40,0x3F,0xFE,
+0x20,0x40,0x20,0x40,0x20,0x44,0x3E,0x44,
+0x22,0x44,0x22,0x28,0x22,0x28,0x22,0x12,
+0x2A,0x32,0x44,0x4A,0x40,0x86,0x81,0x02,/*"成",7*/
+};
+
+static const unsigned char str_deng[] = {
+0x20,0x40,0x3F,0x7E,0x48,0x90,0x85,0x08,
+0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x00,
+0xFF,0xFE,0x00,0x00,0x00,0x20,0x7F,0xFC,
+0x08,0x20,0x04,0x20,0x04,0xA0,0x00,0x40,/*"等",0*/
+};
+static const unsigned char str_dai[] = {
+0x08,0x40,0x08,0x40,0x10,0x40,0x23,0xFC,
+0x48,0x40,0x08,0x40,0x17,0xFE,0x30,0x10,
+0x50,0x10,0x97,0xFE,0x10,0x10,0x12,0x10,
+0x11,0x10,0x11,0x10,0x10,0x50,0x10,0x20,/*"待",1*/
+};
+static const unsigned char str_she[] = {
+0x00,0x00,0x21,0xF0,0x11,0x10,0x11,0x10,
+0x01,0x10,0x02,0x0E,0xF4,0x00,0x13,0xF8,
+0x11,0x08,0x11,0x10,0x10,0x90,0x14,0xA0,
+0x18,0x40,0x10,0xA0,0x03,0x18,0x0C,0x06,/*"设",2*/
+};
+static const unsigned char str_zhi[] = {
+0x7F,0xFC,0x44,0x44,0x7F,0xFC,0x01,0x00,
+0x7F,0xFC,0x01,0x00,0x1F,0xF0,0x10,0x10,
+0x1F,0xF0,0x10,0x10,0x1F,0xF0,0x10,0x10,
+0x1F,0xF0,0x10,0x10,0xFF,0xFE,0x00,0x00,/*"置",3*/
+};
+static const unsigned char str_can[] = {
+0x02,0x00,0x04,0x40,0x08,0x20,0x1F,0xF0,
+0x02,0x00,0x7F,0xFC,0x08,0x20,0x10,0x90,
+0x23,0x08,0xCC,0x46,0x01,0x80,0x06,0x10,
+0x18,0x20,0x00,0xC0,0x07,0x00,0x78,0x00,/*"参",4*/
+};
+
+static const unsigned char str_shi1[] = {
+0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,
+0x88,0x84,0x04,0x80,0x04,0x80,0x10,0x80,
+0x08,0x80,0x08,0x80,0xFF,0xFE,0x01,0x40,
+0x02,0x20,0x04,0x10,0x18,0x08,0x60,0x04,/*"实",0*/
+};
+
+static const unsigned char str_i[] = {
+0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xE0,
+0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,
+0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,
+0x00,0x80,0x03,0xE0,0x00,0x00,0x00,0x00,/*"I",0*/
+
+};
+
+static const unsigned char str_yan1[] = {
+0x00,0x20,0xF8,0x20,0x08,0x50,0x48,0x50,
+0x48,0x88,0x49,0x04,0x4A,0xFA,0x7C,0x00,
+0x04,0x44,0x04,0x24,0x1D,0x24,0xE4,0xA8,
+0x44,0x88,0x04,0x10,0x2B,0xFE,0x10,0x00,/*"验",1*/
+};
+
+static const unsigned char str_yuan[] = {
+0x00,0x00,0x3F,0xFE,0x20,0x80,0x21,0x00,
+0x27,0xF0,0x24,0x10,0x24,0x10,0x27,0xF0,
+0x24,0x10,0x24,0x10,0x27,0xF0,0x20,0x80,
+0x24,0x90,0x48,0x88,0x52,0x84,0x81,0x00,/*"原",0*/
+};
+
+static const unsigned char str_shi2[] = {
+0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x40,
+0xFC,0x48,0x24,0x84,0x25,0xFE,0x24,0x82,
+0x24,0x00,0x48,0xFC,0x28,0x84,0x10,0x84,
+0x28,0x84,0x44,0x84,0x80,0xFC,0x00,0x84,/*"始",1*/
+};
+
+static const unsigned char str_lei[] = {
+0x01,0x00,0x11,0x10,0x09,0x20,0x01,0x00,
+0x7F,0xFC,0x05,0x40,0x09,0x20,0x11,0x10,
+0x60,0x08,0x01,0x00,0xFF,0xFE,0x02,0x80,
+0x04,0x40,0x08,0x20,0x30,0x18,0xC0,0x06,/*"类",0*/
+};
+
+static const unsigned char str_xing[] = {
+0x00,0x04,0x7F,0x84,0x12,0x24,0x12,0x24,
+0x12,0x24,0xFF,0xA4,0x12,0x24,0x22,0x04,
+0x22,0x14,0x41,0x08,0x81,0x00,0x3F,0xF8,
+0x01,0x00,0x01,0x00,0xFF,0xFE,0x00,0x00,/*"型",1*/
+};
+
+static const unsigned char logo1[] = {
+//logo for ARM Ecosystem Accelereator
+
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
+0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x3F,0xFF,0xF0,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
+0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x03,0xFF,0xFF,0xFF,0x80,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,
+0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x1F,0xFE,0x03,0xFF,0xF8,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xE0,
+0x00,0x1F,0xFE,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x7F,0x80,0x00,0x03,0xFF,0x80,
+0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x00,
+0x00,0x00,0xFF,0xC0,0x00,0x00,0x00,0x00,
+0x00,0x00,0xFC,0x00,0x00,0x00,0x3F,0xF0,
+0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0x00,
+0x00,0x00,0x0F,0xF8,0x00,0x00,0x00,0x00,
+0x00,0x01,0xF8,0x00,0x00,0x00,0x03,0xFE,
+0x00,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,
+0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x7F,
+0x80,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,
+0x00,0x00,0x00,0x3F,0xC0,0x00,0x00,0x00,
+0x00,0x03,0xE0,0x00,0x00,0x00,0x00,0x0F,
+0xE0,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,
+0x00,0x00,0x00,0x07,0xF0,0x00,0x00,0x00,
+0x00,0x03,0xE0,0x00,0x00,0x00,0x00,0x03,
+0xF8,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0x01,0xFC,0x00,0x00,0x00,
+0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x00,
+0xFE,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0x00,0x7F,0x00,0x00,0x00,
+0x00,0x01,0xF8,0x00,0x00,0x00,0x00,0x00,
+0x3F,0x00,0x00,0x00,0x00,0x00,0xFC,0x00,
+0x00,0x00,0x00,0x00,0x1F,0x80,0x00,0x00,
+0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,
+0x0F,0xC0,0x00,0x00,0x00,0x00,0x7E,0x00,
+0x00,0x00,0x00,0x00,0x0F,0xE0,0x00,0x00,
+0x00,0x00,0x3F,0x80,0x00,0x00,0x00,0x00,
+0x07,0xE0,0x00,0x00,0x00,0x00,0x3F,0xC0,
+0x00,0x00,0x00,0x00,0x03,0xF0,0x00,0x00,
+0x00,0x00,0x1F,0xE0,0x00,0x00,0x00,0x00,
+0x01,0xF8,0x00,0x00,0x00,0x00,0x0F,0xF8,
+0x00,0x00,0x00,0x00,0x01,0xF8,0x00,0x00,
+0x00,0x00,0x07,0xFE,0x00,0x00,0x00,0x00,
+0x00,0xFC,0x00,0x00,0x00,0x00,0x01,0xFF,
+0x80,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,
+0x00,0x00,0x00,0xFF,0xC0,0x00,0x00,0x00,
+0x00,0x7E,0x00,0x00,0x00,0x00,0x00,0x3F,
+0xE0,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,
+0x00,0x00,0x00,0x7F,0xC0,0x00,0x00,0x00,
+0x00,0x7E,0x00,0x00,0x00,0x00,0x01,0xFF,
+0xC0,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,
+0x00,0x00,0x03,0xFF,0x00,0x00,0x00,0x00,
+0x00,0xFC,0x00,0x00,0x00,0x00,0x07,0xF8,
+0x00,0x00,0x00,0x00,0x01,0xF8,0x00,0x00,
+0x00,0x00,0x1F,0xF0,0x00,0x00,0x00,0x00,
+0x01,0xF8,0x00,0x00,0x00,0x00,0x3F,0xC0,
+0x00,0x00,0x00,0x00,0x03,0xF0,0x00,0x00,
+0x00,0x00,0x3F,0x80,0x00,0x00,0x00,0x00,
+0x07,0xE0,0x00,0x00,0x00,0x00,0x7F,0x00,
+0x00,0x00,0x00,0x00,0x0F,0xE0,0x00,0x00,
+0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,
+0x0F,0xC0,0x00,0x00,0x00,0x00,0xFC,0x00,
+0x00,0x00,0x00,0x00,0x1F,0x80,0x00,0x00,
+0x00,0x01,0xF8,0x00,0x00,0x00,0x00,0x00,
+0x3F,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0x00,0x7F,0x00,0x00,0x00,
+0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x00,
+0xFE,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0x01,0xFC,0x00,0x00,0x00,
+0x00,0x03,0xE0,0x00,0x00,0x00,0x00,0x03,
+0xF8,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,
+0x00,0x00,0x00,0x07,0xF0,0x00,0x00,0x00,
+0x00,0x03,0xE0,0x00,0x00,0x00,0x00,0x0F,
+0xE0,0x00,0x00,0x00,0x00,0x03,0xE0,0x00,
+0x00,0x00,0x00,0x3F,0xC0,0x00,0x00,0x00,
+0x00,0x01,0xF0,0x00,0x00,0x00,0x00,0x7F,
+0x80,0x00,0x00,0x00,0x00,0x01,0xF0,0x00,
+0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,
+0x00,0x01,0xF8,0x00,0x00,0x00,0x03,0xFE,
+0x00,0x00,0x00,0x00,0x00,0x01,0xF8,0x00,
+0x00,0x00,0x0F,0xF8,0x00,0x00,0x00,0x00,
+0x00,0x00,0xFC,0x00,0x00,0x00,0x3F,0xF0,
+0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x00,
+0x00,0x00,0xFF,0xC0,0x00,0x00,0x00,0x00,
+0x00,0x00,0x7F,0x80,0x00,0x03,0xFF,0x80,
+0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xE0,
+0x00,0x1F,0xFE,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x1F,0xFC,0x03,0xFF,0xF8,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,
+0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x03,0xFF,0xFF,0xFF,0x80,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xFF,
+0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x3F,0xFF,0xF0,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
+0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00/*"C:\Users\Harry\Desktop\1.bmp",0*/
+};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sun May 31 07:27:40 2020 +0000
@@ -0,0 +1,309 @@
+#include "mbed.h"
+#include "arm_math.h"
+#include "arm_common_tables.h"
+#include "arm_const_structs.h"
+#include "math_helper.h"
+#include "SeeedGrayOLED.h"
+#include "logo.h"
+
+Serial pc(SERIAL_TX, SERIAL_RX); //串口
+DigitalOut myled(LED1); //LED
+SeeedGrayOLED myOLED; //OLED屏幕
+InterruptIn button(USER_BUTTON); //用户按键
+
+#define TEST_LENGTH_SAMPLES 2048
+
+static void arm_cfft_f32_app(uint32_t ifftFlag);
+static void arm_rfft_fast_f32_app(uint32_t ifftFlag);
+
+static float32_t testOutput[TEST_LENGTH_SAMPLES];
+static float32_t testInput[TEST_LENGTH_SAMPLES];
+static float32_t testInput_cfft[TEST_LENGTH_SAMPLES];
+static float32_t testInput_rfft[TEST_LENGTH_SAMPLES];
+/*
+********************************************************************************
+* 函 数 名: arm_cfft_f32_app
+* 功能说明: 调用函数arm_cfft_f32_app计算幅频
+* 形 参: 无
+* 返 回 值: 无
+********************************************************************************
+*/
+static void arm_cfft_f32_app(uint32_t ifftFlag)
+{
+ uint16_t i;
+ uint32_t fftSize = 1024;
+ uint32_t doBitReverse = 1;
+ if(ifftFlag == 0) {
+ /* 按照实部,虚部,实部,虚部.....的顺序存储数据 */
+ for(i = 0; i<TEST_LENGTH_SAMPLES/2; i++) {
+ testInput_cfft[i*2+1] = 0;
+ /* 50Hz正弦波,采样率1kHz */
+ testInput_cfft[i*2] = testInput[i];
+ }
+ /* CFFT变换 */
+ arm_cfft_f32(&arm_cfft_sR_f32_len1024,testInput_cfft,ifftFlag,doBitReverse);
+ /* 求解模值 */
+ arm_cmplx_mag_f32(testInput_cfft,testOutput,fftSize);
+ /* 串口打印求解的模值 */
+ for(i = 0; i<TEST_LENGTH_SAMPLES/2; i++) {
+ printf("%f\r\n",testOutput[i]);
+ }
+ } else if(ifftFlag == 1) {
+ /* CFFT变换 */
+ arm_cfft_f32(&arm_cfft_sR_f32_len1024,testInput_cfft,ifftFlag,doBitReverse);
+ /* 串口打印求解的模值 */
+ for(i = 0; i<TEST_LENGTH_SAMPLES/2; i++) {
+ printf("%f\r\n",testInput_cfft[i*2]);
+ }
+ }
+}
+
+/*
+*********************************************************************
+* 函数名:arm_rfft_fast_f32_app
+* 功能说明:调用函数arm_rfft_fast_f32_app计算幅频
+* 形参:无
+* 返回值:无
+*********************************************************************
+*/
+static void arm_rfft_fast_f32_app(uint32_t ifftFlag)
+{
+ uint16_t i;
+ arm_rfft_fast_instance_f32 S;
+ uint32_t fftSize = 1024;
+ arm_rfft_fast_init_f32(&S, fftSize);
+ if(ifftFlag == 0) {
+ arm_rfft_fast_f32(&S, testInput, testInput_rfft, ifftFlag);
+ arm_cmplx_mag_f32(testInput_rfft, testOutput, fftSize);
+ for(i=0; i<TEST_LENGTH_SAMPLES/2; i++) {
+ printf("%f\r\n", testOutput[i]);
+ }
+ } else if(ifftFlag == 1) {
+ arm_rfft_fast_f32(&S, testInput_rfft, testOutput, ifftFlag);
+ for(i=0; i<TEST_LENGTH_SAMPLES/2; i++) {
+ printf("%f\r\n", testOutput[i]);
+ }
+ }
+}
+
+/*
+*********************************************************************
+* 函数名:DSP_Sine_Synthesis
+* 功能说明:调用函数arm_sin_f32,生成采样频率1000Hz的50Hz正弦波和200Hz正弦波
+* 形参:f1-信号1频率,f2-信号2频率
+* 返回值:无
+*********************************************************************
+*/
+static void DSP_Sine_Synthesis(int f1,int f2,int f3,int a1,int a2,int a3)
+{
+ uint16_t i;
+ for(i = 0; i < TEST_LENGTH_SAMPLES; i++) {
+ testInput[i] = a1*arm_sin_f32(2*3.1415926f*f1*i/1000) + a2*arm_sin_f32(2*3.1415926f*f2*i/1000) + a3*arm_sin_f32(2*3.1415926f*f3*i/1000);
+ }
+ for(i = 0; i < TEST_LENGTH_SAMPLES; i++) {
+ pc.printf("%f\r\n",testInput[i]);
+ }
+}
+
+int main()
+{
+ int f1,f2,f3,a1,a2,a3;
+ char str1[10];
+ myOLED.init(SH1107G);
+ logo:myOLED.clearDisplay();
+ while(1) {
+
+ myOLED.drawzifu(1,0,str3_2,16*16/8); //F
+ myOLED.drawzifu(2,0,str3_2,16*16/8); //F
+ myOLED.drawzifu(3,0,str3_3,16*16/8); //T
+ myOLED.drawzifu(4,0,str_bian,16*16/8); //变
+ myOLED.drawzifu(5,0,str_huan,16*16/8); //换
+ myOLED.drawzifu(6,0,str_shi1,16*16/8); //实
+ myOLED.drawzifu(7,0,str_yan1,16*16/8); //验
+
+ myOLED.drawzifu(2,2,str_deng,16*16/8); //等
+ myOLED.drawzifu(3,2,str_dai,16*16/8); //待
+ myOLED.drawzifu(4,2,str_she,16*16/8); //设
+ myOLED.drawzifu(5,2,str_zhi,16*16/8); //置
+ myOLED.drawzifu(2,3,str_xin,16*16/8); //信
+ myOLED.drawzifu(3,3,str_hao,16*16/8); //号
+ myOLED.drawzifu(4,3,str_can,16*16/8); //参
+ myOLED.drawzifu(5,3,str_shu2,16*16/8); //数
+ pc.scanf("%s",str1);
+ if(strcmp(str1,"set_para") == 0) {
+ pc.scanf("%d %d %d %d %d %d",&f1,&f2,&f3,&a1,&a2,&a3); //读取信号参数
+ myOLED.drawzifu(2,2,str_xin,16*16/8); //信
+ myOLED.drawzifu(3,2,str_hao,16*16/8); //号
+ myOLED.drawzifu(4,2,str_can,16*16/8); //参
+ myOLED.drawzifu(5,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(2,3,str_she,16*16/8); //设
+ myOLED.drawzifu(3,3,str_zhi,16*16/8); //置
+ myOLED.drawzifu(4,3,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,3,str_cheng,16*16/8); //成
+ while(1) {
+ pc.scanf("%s",str1);
+ if(strcmp(str1,"send_data") == 0) {
+ myOLED.drawzifu(2,2,str_zheng,16*16/8); //正
+ myOLED.drawzifu(3,2,str_zai,16*16/8); //在
+ myOLED.drawzifu(4,2,str_shang,16*16/8); //上
+ myOLED.drawzifu(5,2,str_chuan,16*16/8); //传
+ myOLED.drawzifu(2,3,str_yuan,16*16/8); //原
+ myOLED.drawzifu(3,3,str_shi2,16*16/8); //始
+ myOLED.drawzifu(4,3,str_xin,16*16/8); //信
+ myOLED.drawzifu(5,3,str_hao,16*16/8); //号
+
+ DSP_Sine_Synthesis(f1,f2,f3,a1,a2,a3); //上传原始数据
+
+ myOLED.drawzifu(2,2,str_xin,16*16/8); //信
+ myOLED.drawzifu(3,2,str_hao,16*16/8); //号
+ myOLED.drawzifu(4,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,2,str_ju,16*16/8); //据
+ myOLED.drawzifu(2,3,str_shang,16*16/8); //上
+ myOLED.drawzifu(3,3,str_chuan,16*16/8); //传
+ myOLED.drawzifu(4,3,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,3,str_cheng,16*16/8); //成
+ while(1) {
+ pc.scanf("%s",str1);
+ if(strcmp(str1,"cfft_data") == 0) {
+ myOLED.clearDisplay();
+ myOLED.drawzifu(2,1,str_bian,16*16/8); //变
+ myOLED.drawzifu(3,1,str_huan,16*16/8); //换
+ myOLED.drawzifu(4,1,str_lei,16*16/8); //类
+ myOLED.drawzifu(5,1,str_xing,16*16/8); //型
+
+ myOLED.drawzifu(2,2,str_fu,16*16/8); //复
+ myOLED.drawzifu(3,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(4,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(5,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(6,2,str3_3,16*16/8); //T
+
+ myOLED.drawzifu(2,4,str_zheng,16*16/8); //正
+ myOLED.drawzifu(3,4,str_zai,16*16/8); //在
+ myOLED.drawzifu(4,4,str_shang,16*16/8); //上
+ myOLED.drawzifu(5,4,str_chuan,16*16/8); //传
+ myOLED.drawzifu(2,5,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,5,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,5,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,5,str_ju,16*16/8); //据
+
+ arm_cfft_f32_app(0);
+
+ myOLED.drawzifu(2,4,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,4,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,4,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,4,str_ju,16*16/8); //据
+ myOLED.drawzifu(2,5,str_shang,16*16/8); //上
+ myOLED.drawzifu(3,5,str_chuan,16*16/8); //传
+ myOLED.drawzifu(4,5,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,5,str_cheng,16*16/8); //成
+ while(1) {
+ pc.scanf("%s",str1);
+ if(strcmp(str1,"cifft_data") == 0) {
+ myOLED.clearDisplay();
+ myOLED.drawzifu(2,1,str_bian,16*16/8); //变
+ myOLED.drawzifu(3,1,str_huan,16*16/8); //换
+ myOLED.drawzifu(4,1,str_lei,16*16/8); //类
+ myOLED.drawzifu(5,1,str_xing,16*16/8); //型
+
+ myOLED.drawzifu(1,2,str_fu,16*16/8); //复
+ myOLED.drawzifu(2,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(3,2,str_i,16*16/8); //I
+ myOLED.drawzifu(4,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(5,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(6,2,str3_3,16*16/8); //T
+
+ myOLED.drawzifu(2,4,str_zheng,16*16/8); //正
+ myOLED.drawzifu(3,4,str_zai,16*16/8); //在
+ myOLED.drawzifu(4,4,str_shang,16*16/8); //上
+ myOLED.drawzifu(5,4,str_chuan,16*16/8); //传
+ myOLED.drawzifu(2,5,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,5,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,5,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,5,str_ju,16*16/8); //据
+ arm_cfft_f32_app(1);
+ myOLED.drawzifu(2,4,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,4,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,4,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,4,str_ju,16*16/8); //据
+ myOLED.drawzifu(2,5,str_shang,16*16/8); //上
+ myOLED.drawzifu(3,5,str_chuan,16*16/8); //传
+ myOLED.drawzifu(4,5,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,5,str_cheng,16*16/8); //成
+ wait(5);
+ goto logo;
+ }
+ }
+ } else if(strcmp(str1,"rfft_data") == 0) {
+ myOLED.clearDisplay();
+ myOLED.drawzifu(2,1,str_bian,16*16/8); //变
+ myOLED.drawzifu(3,1,str_huan,16*16/8); //换
+ myOLED.drawzifu(4,1,str_lei,16*16/8); //类
+ myOLED.drawzifu(5,1,str_xing,16*16/8); //型
+
+ myOLED.drawzifu(2,2,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(4,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(5,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(6,2,str3_3,16*16/8); //T
+
+ myOLED.drawzifu(2,4,str_zheng,16*16/8); //正
+ myOLED.drawzifu(3,4,str_zai,16*16/8); //在
+ myOLED.drawzifu(4,4,str_shang,16*16/8); //上
+ myOLED.drawzifu(5,4,str_chuan,16*16/8); //传
+ myOLED.drawzifu(2,5,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,5,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,5,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,5,str_ju,16*16/8); //据
+ arm_rfft_fast_f32_app(0);
+ myOLED.drawzifu(2,4,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,4,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,4,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,4,str_ju,16*16/8); //据
+ myOLED.drawzifu(2,5,str_shang,16*16/8); //上
+ myOLED.drawzifu(3,5,str_chuan,16*16/8); //传
+ myOLED.drawzifu(4,5,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,5,str_cheng,16*16/8); //成
+ while(1) {
+ pc.scanf("%s",str1);
+ if(strcmp(str1,"rifft_data") == 0) {
+ myOLED.clearDisplay();
+ myOLED.drawzifu(2,1,str_bian,16*16/8); //变
+ myOLED.drawzifu(3,1,str_huan,16*16/8); //换
+ myOLED.drawzifu(4,1,str_lei,16*16/8); //类
+ myOLED.drawzifu(5,1,str_xing,16*16/8); //型
+
+ myOLED.drawzifu(1,2,str_shi1,16*16/8); //实
+ myOLED.drawzifu(2,2,str_shu2,16*16/8); //数
+ myOLED.drawzifu(3,2,str_i,16*16/8); //I
+ myOLED.drawzifu(4,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(5,2,str3_2,16*16/8); //F
+ myOLED.drawzifu(6,2,str3_3,16*16/8); //T
+
+ myOLED.drawzifu(2,4,str_zheng,16*16/8); //正
+ myOLED.drawzifu(3,4,str_zai,16*16/8); //在
+ myOLED.drawzifu(4,4,str_shang,16*16/8); //上
+ myOLED.drawzifu(5,4,str_chuan,16*16/8); //传
+ myOLED.drawzifu(2,5,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,5,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,5,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,5,str_ju,16*16/8); //据
+ arm_rfft_fast_f32_app(1);
+ myOLED.drawzifu(2,4,str_shi1,16*16/8); //实
+ myOLED.drawzifu(3,4,str_yan1,16*16/8); //验
+ myOLED.drawzifu(4,4,str_shu2,16*16/8); //数
+ myOLED.drawzifu(5,4,str_ju,16*16/8); //据
+ myOLED.drawzifu(2,5,str_shang,16*16/8); //上
+ myOLED.drawzifu(3,5,str_chuan,16*16/8); //传
+ myOLED.drawzifu(4,5,str_wan,16*16/8); //完
+ myOLED.drawzifu(5,5,str_cheng,16*16/8); //成
+ wait(5);
+ goto logo;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-dsp.lib Sun May 31 07:27:40 2020 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/mbed_official/code/mbed-dsp/#3762170b6d4d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun May 31 07:27:40 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file