所有分类
主题 主题
平台 平台
我的工作台
userHead
注册时间 [[userInfo.create_time]]
创造力 [[userInfo.creativity]]
[[userInfo.remark]]
[[d.project_title]]
articleThumb
[[d.material_name]]
timelineThumb
进入工作台
折叠
所有分类 我的工作台
展开
与祖国同庆 与科技同行——智能麦昆国庆花车
rzegkly rzegkly 2019-10-06 20:59:51
1
0
简单
projectImage

       国庆节,也称国庆纪念日,是指由一个国家制定的用来纪念国家本身的法定节日,通常是这个国家的独立、宪法的签署、或其他有重大意义的周年纪念日。10月1日上午,庆祝中华人民共和国成立70周年大会在北京天安门广场隆重举行!

      在这个特别日子里,分享一篇《与祖国同庆 与科技同行——智能麦昆国庆花车》文章,祝福我们伟大的祖国繁荣昌盛,祝福中华民族昂首走向复兴!

projectImage
材料清单 材料清单
1x
麦昆: micro:bit教育机器人 V4.0 麦昆+锂电池
1x
MU视觉传感器
1x
徽章板
1x
haodaMIDI
1x
高品质 micro USB数据线
1x
usb音响
1x
巡线地图
4x
小红旗及乐高积木
projectImage

一、思路

1..当花车侦测地面黑线位置,控制花车巡线前进与停止;

2.当花车检测到轨道上标“停止点时,花车停留5s,与此同时,花车侦测轨道两侧“”数字卡片“”信息,发送相关指令;

3.徽章板接收到相关信息,led自动播放“国庆标语”显示,haodaMIDI控制音乐播放和停止,实现花车智能巡线的目的!


projectImage

二、功能

(1).当国庆花车通过MU视觉传感器侦测到数字卡片1或者 3时,通过2.4G无线网络发送无线信号“1”或者“3”, 徽章板接收到“1”或者“3”,播放音乐《国歌》,徽章板显示:“祝福祖国 生日快乐”; 

(2).当国庆花车通过MU视觉传感器侦测到数字卡片2或者 4时,通过2.4G无线网络发送无线信号“2”或者“4”, 徽章板接收到“2”或者“4”,音乐停止,徽章板显示:“祖国万岁 明天更好”; 

projectImage

三、环境 

 1、硬件: 麦昆: micro:bit教育机器人

                   好好搭搭 haodaMIDI

                   徽章板

 2、软件:Mind+ V1..5.6 

                  http://www.haohaodada.com/hz/

projectImage

四、搭建

1.花车主体由麦昆小车、MU视觉传感器以及MU支架组成,花车上使用剪纸国庆图案进行装饰, 

2.巡线路径两侧由四组数字指示卡片牌子,底座由乐高积木搭建,数字卡牌由小红旗进行装饰。

projectImage
projectImage
projectImage
projectImage
projectImage
projectImage

五、编写程序

步骤1 步骤1
花车程序相关参数设置

1、通过数据线连接microbit和计算机,用管理员模式打开Mind+1.5.6,将Mind+切换为“上传模式”下,连接设备,选择串口com19;

projectImage

2、扩展模块中,添加套件:麦昆小车;传感器模块:识别摄像头,函数模块:kapian和maikun

projectImage
projectImage
projectImage
步骤2 步骤2
花车巡线程序和卡片程序
projectImage
projectImage

花车侦测卡片程序:

1、当摄像头检测到数字卡片1时,mcirobit板发送数值“1”,徽章板收到信息,显示:“祝福祖国 生日快乐”;播放音乐《国歌》

2、当摄像头检测到数字卡片2时,mcirobit板发送数值“2”,徽章板收到信息,祖国万岁 明天更好; 音乐停止

3、当摄像头检测到数字卡片3时,mcirobit板发送数值“3”,徽章板收到信息,显示:“祝福祖国 生日快乐”;播放音乐《国歌》

4、当摄像头检测到数字卡片4时,mcirobit板发送数值“4”,徽章板收到信息,祖国万岁 明天更好;音乐停止

步骤3 步骤3
徽章板程序

1.好好搭主页http://www.haohaodada.com/new/adminmoban.php,在“创作”目录,选择:U盘下载模式编程。

projectImage

2.编译国歌.midi文件,将国歌文件拖放到midiconv.exe软件图标上 进行编译。

3、编译完成后会自动退出,在midi文件目录下产生一个名为midi.c的文件,用记事本打开midi.c的文件,全选(ctrl+A)、复制(ctrl+C)

projectImage

4.打开网好好搭搭网站徽章编程(haohaodada.com/hz)、打开字符编 程, 然后全选(ctrl+A)、粘贴(ctrl+V)。

projectImage

5、点击下载到设备

可以参考《Microbit与徽章板无线通讯》:https://makelog.dfrobot.com.cn/article-1858.html

projectImage
代码 代码
	                    					#include "usb_midi.h"
#include "Arduino.h"
#include "Wire.h"
#include "Servo.h"
#include "Haoda.h"
//#define usbmidi   //设置是否需要usbmidi输出,
HD_MIDI midi_6(6); //硬音源接在D0
boolean _configured;
uint32_t sudu=0x001458;
const uint8_t song[]={
0x00,0xB0,0x64,0x00,
0x00,0xB0,0x65,0x00,
0x00,0xB0,0x06,0x0C,
0x00,0xB0,0x64,0x01,
0x00,0xB0,0x65,0x00,
0x00,0xB0,0x06,0x40,
0x00,0xB0,0x64,0x7F,
0x00,0xB0,0x65,0x7F,
0x00,0xC0,0x00,0x00,
0x00,0xB0,0x07,0x64,
0x00,0xB0,0x0A,0x40,
0x00,0xB0,0x5B,0x00,
0x00,0xB0,0x5D,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x59,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x58,0x50,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x77,0x90,0x4C,0x00,
0x00,0x90,0x58,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x77,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x59,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x1D,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x77,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x77,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0xB3,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x2F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x77,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x00,0x90,0x3E,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x00,0x90,0x3E,0x50,
0x27,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x40,0x50,
0x00,0x90,0x4C,0x50,
0x27,0x90,0x40,0x00,
0x00,0x90,0x4C,0x00,
0x00,0x90,0x42,0x50,
0x00,0x90,0x4E,0x50,
0x27,0x90,0x42,0x00,
0x00,0x90,0x4E,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x77,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x77,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x1A,0x50,
0x00,0x90,0x26,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x3B,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x1A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x27,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x27,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x27,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4E,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x4A,0x00,
0x00,0x90,0x4E,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4E,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x4A,0x00,
0x00,0x90,0x4E,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x23,0x50,
0x00,0x90,0x2F,0x50,
0x59,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x23,0x00,
0x00,0x90,0x2F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x59,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2F,0x50,
0x59,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2F,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x34,0x50,
0x00,0x90,0x39,0x50,
0x77,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x34,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x48,0x50,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x21,0x50,
0x3B,0x90,0x45,0x00,
0x00,0x90,0x48,0x00,
0x00,0x90,0x4C,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x21,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x58,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x24,0x50,
0x00,0x90,0x30,0x50,
0x77,0x90,0x4C,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x58,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x24,0x00,
0x00,0x90,0x30,0x00,
0x00,0x90,0x36,0x50,
0x00,0x90,0x39,0x50,
0x00,0x90,0x3E,0x50,
0x77,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x48,0x50,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x36,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x21,0x50,
0x00,0x90,0x2D,0x50,
0x77,0x90,0x45,0x00,
0x00,0x90,0x48,0x00,
0x00,0x90,0x4C,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x21,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x00,0x90,0x3E,0x50,
0x77,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x53,0x50,
0x3B,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x27,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x27,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x27,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x3B,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x30,0x50,
0x00,0x90,0x3C,0x50,
0x3B,0x90,0x30,0x00,
0x00,0x90,0x3C,0x00,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x2F,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x59,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x1D,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x29,0x50,
0x00,0x90,0x30,0x50,
0x00,0x90,0x35,0x50,
0x59,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x29,0x00,
0x00,0x90,0x30,0x00,
0x00,0x90,0x35,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x28,0x50,
0x00,0x90,0x34,0x50,
0x3B,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x28,0x00,
0x00,0x90,0x34,0x00,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x1D,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x51,0x50,
0x1D,0x90,0x45,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x40,0x50,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x25,0x50,
0x00,0x90,0x31,0x50,
0x3B,0x90,0x25,0x00,
0x00,0x90,0x31,0x00,
0x00,0x90,0x23,0x50,
0x00,0x90,0x2F,0x50,
0x3B,0x90,0x40,0x00,
0x00,0x90,0x4C,0x00,
0x00,0x90,0x23,0x00,
0x00,0x90,0x2F,0x00,
0x00,0x90,0x45,0x50,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x37,0x50,
0x3B,0x90,0x2B,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x2A,0x50,
0x00,0x90,0x36,0x50,
0x3B,0x90,0x45,0x00,
0x00,0x90,0x4C,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2A,0x00,
0x00,0x90,0x36,0x00,
0x00,0x90,0x26,0x50,
0x00,0x90,0x32,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x26,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x3B,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3E,0x50,
0x3B,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4D,0x50,
0x00,0x90,0x51,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x4D,0x00,
0x00,0x90,0x51,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x3E,0x50,
0x1D,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x3E,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x1F,0x50,
0x00,0x90,0x2B,0x50,
0x59,0x90,0x43,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x1D,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x1F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x3B,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x4C,0x50,
0x00,0x90,0x58,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x4C,0x00,
0x00,0x90,0x58,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x59,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x1D,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x3B,0x90,0x2B,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x30,0x50,
0x00,0x90,0x3C,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x43,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x30,0x00,
0x00,0x90,0x3C,0x00,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x2F,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x59,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x1D,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x56,0x50,
0x27,0x90,0x4A,0x00,
0x00,0x90,0x56,0x00,
0x00,0x90,0x47,0x50,
0x00,0x90,0x53,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x47,0x00,
0x00,0x90,0x53,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x00,0x90,0x3B,0x50,
0x77,0x90,0x43,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x3B,0x90,0x2B,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x30,0x50,
0x00,0x90,0x3C,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x43,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x30,0x00,
0x00,0x90,0x3C,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x2F,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x3B,0x90,0x2B,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x30,0x50,
0x00,0x90,0x3C,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x43,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x30,0x00,
0x00,0x90,0x3C,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x2F,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x3E,0x50,
0x00,0x90,0x43,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0x3B,0x90,0x2B,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,
0x00,0x90,0x30,0x50,
0x00,0x90,0x3C,0x50,
0x3B,0x90,0x3E,0x00,
0x00,0x90,0x43,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x30,0x00,
0x00,0x90,0x3C,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x3B,0x50,
0x3B,0x90,0x2F,0x00,
0x00,0x90,0x3B,0x00,
0x00,0x90,0x2D,0x50,
0x00,0x90,0x39,0x50,
0x3B,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2D,0x00,
0x00,0x90,0x39,0x00,
0x00,0x90,0x43,0x50,
0x00,0x90,0x47,0x50,
0x00,0x90,0x4A,0x50,
0x00,0x90,0x4F,0x50,
0x00,0x90,0x2B,0x50,
0x00,0x90,0x2F,0x50,
0x00,0x90,0x32,0x50,
0x00,0x90,0x37,0x50,
0xDF,0x90,0x43,0x00,
0x00,0x90,0x47,0x00,
0x00,0x90,0x4A,0x00,
0x00,0x90,0x4F,0x00,
0x00,0x90,0x2B,0x00,
0x00,0x90,0x2F,0x00,
0x00,0x90,0x32,0x00,
0x00,0x90,0x37,0x00,

};



void setup()
{
     hd_strip_7.pixel_init(7);
     RADIO_init(microbit);
     RADIO_RX_SETUP();
     #ifdef usbmidi
     usb_midi_init();
     #endif
      _configured = 0;
    BadgeDisplay_Init();
#ifdef usbmidi
    BadgeDisplay_hzs("国庆花车");
    while (bDeviceState != CONFIGURED);
#endif
  if (_configured == 0) {
    delay(2000);
    _configured = 1;
  }
  BadgeDisplay_Clear_Screen();
  BadgeDisplay_hzs("国庆花车");
      delay(5000);

}

 uint8_t jincheng=0;
uint32_t i=0;
uint32_t t=0;

void loop()
{

    if(RADIO_RX()){
      if(RX_read_str() == "1"){    
    //要设一个变量,等于1时 变量改变,作为触发器用         
    jincheng=1;      //播放国歌      
        
    BadgeDisplay_Clear_Screen();        
    BadgeDisplay_hzs("祝福祖国生日快乐");       
    }   
    

      if(RX_read_str() == "2"){
        BadgeDisplay_Clear_Screen();
        BadgeDisplay_hzs("祖国万岁明天更好");
        jincheng=0;//停止播放国歌
       

      }
      if(RX_read_str() == "3"){
        BadgeDisplay_Clear_Screen();
        BadgeDisplay_hzs("祝福祖国生日快乐");
        jincheng=1;      //播放国歌  
        

      }
      if(RX_read_str() == "4"){
        BadgeDisplay_Clear_Screen();
        BadgeDisplay_hzs("祖国万岁明天更好");
        jincheng=0;//停止播放国歌
           }
}


    if(jincheng==1){//播放代码        
    midi_6.Send(song[i+1],song[i+2],song[i+3]);        
    t=song[i+4]*sudu;        
    t=t/1000;           
    if(t!=0)delay(t);        
    i=i+4;        
    if(i>sizeof(song)){i=0;jincheng=0;} 
     }


}
	                    				

六、知识拓展:

haodaMIDI硬音源

 1.原理    

       乐器数字接口(Musical Instrument Digital Interface,简称MIDI)是一个工业标准的电子通信协定,为电子乐器等演奏设备(如合成器)定义各种音符或弹奏码,允许电子乐器、电脑、手机或其它的舞台演出配备彼此连接,调整和同步,得以实时交换演奏数据。

2.参数:  

       haodaMIDI采用入门级硬音源芯片,3线输入接口:3.3V、GND、控制信号,可以接入各种控制器控制。硬音源带127种乐器 ,60余打击乐器,已实现图形化编程,控制简单。完全可以制作各种电声乐器,或 自动演奏乐器(相当于一支乐队)

3.优势:

        haodaMIDI自带MD解码,自带音源库,只要对硬音源发送指令,硬音源就会根据指令发出各种音乐,也可以用硬音源制作实时的各类电子乐器。

Makelog作者原创文章,未经授权禁止转载。
1
0
评论
[[c.user_name]] [[c.create_time]]
[[c.parent_comment.count]]
[[c.comment_content]]
rzegkly
注册日期: 2018-11-26
创造力 13862
项目文章 33
你可能感兴趣的项目