查看: 608|回复: 4

[项目] 与祖国同庆 与科技同行——智能麦昆国庆花车

[复制链接]
201910093788.png
   寒露是二十四节气中的第17个节气,
是干支历酉月的结束以及戌月的起始;
时间点在公历每年10月8日或9日视太阳到达黄经195°(处于室女座)时。
"寒露的意思是气温比白露时更低,地面的露水更冷,快要凝结成霜了。
寒露时节,南岭及以北的广大地区均已进入秋季,东北和西北地区已进入或即将进入冬季。
今天,分享一篇《与祖国同庆 与科技同行——智能麦昆国庆花车》文章,
IMG20191005131038_副本.jpg
材料清单
1x麦昆: micro:bit教育机器人 V4.0 麦昆+锂电池链接
1xMU视觉传感器链接
1x徽章板链接
1xhaodaMIDI链接
1x高品质 micro USB数据线链接
1xusb音响
1x巡线地图
4x小红旗及乐高积木
360截图20191005195627350_副本.jpg
一、思路


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


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


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


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


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



IMG20191005124610_副本.jpg
三、环境


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


                   好好搭搭 haodaMIDI


                   徽章板


2、软件:Mind+ V1..5.6


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


201910098309.png
四、搭建


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


2.巡线路径两侧由四组数字指示卡片牌子,底座由乐高积木搭建,数字卡牌由小红旗进行装饰。
微信图片_20191006192354_副本.jpg
微信图片_20191006192359_副本.jpg
微信图片_20191006193815_副本.jpg
微信图片_20191006192343_副本.jpg
微信图片_20191006193821_副本.jpg
IMG20191005125031_副本.jpg


五、编写程序




步骤1
花车程序相关参数设置
1、通过数据线连接microbit和计算机,用管理员模式打开Mind+1.5.6,将Mind+切换为“上传模式”下,连接设备,选择串口com19;
1.jpg

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

步骤2
花车巡线程序和卡片程序
6.jpg
7.jpg
花车侦测卡片程序:
1、当摄像头检测到数字卡片1时,mcirobit板发送数值“1”,徽章板收到信息,显示:“祝福祖国 生日快乐”;播放音乐《国歌》


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


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


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


步骤3徽章板程序
1.好好搭主页http://www.haohaodada.com/new/adminmoban.php,在“创作”目录,选择:U盘下载模式编程。
360截图20191006064438368.jpg
360截图20191005205815181_副本.jpg
2.编译国歌.midi文件,将国歌文件拖放到midiconv.exe软件图标上 进行编译。




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


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


201910094224.png
5、点击下载到设备


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


201910092122.png
代码
[C#] 纯文本查看 复制代码
#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;}

     }





}

CCopy

六、知识拓展:


haodaMIDI硬音源


1.原理   


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


2.参数:  


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


3.优势:


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


国歌编译文件.rar

6.13 KB, 下载次数: 0, 下载积分: 创造力 -1

售价: 1 创造力  [记录]  [购买]

midiconv.rar

24.41 KB, 下载次数: 1, 下载积分: 创造力 -1

售价: 1 创造力  [记录]

汝州冥想者百变造型  见习技师

发表于 2019-10-13 15:20:11

文章太棒了
回复 支持 反对

使用道具 举报

gada888  版主

发表于 2019-10-25 18:05:59

主题不错
回复 支持 反对

使用道具 举报

rzegkly  版主
 楼主|

发表于 2019-10-25 19:07:14

回复 支持 反对

使用道具 举报

rzegkly  版主
 楼主|

发表于 2019-10-25 19:07:27

回复 支持 反对

使用道具 举报

高级模式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
wifi气象站

硬件清单

btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2020 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail