为您找到约 117 条结果,搜索耗时:0.0054秒

物联网视觉识别

...ublic:    MyCanvas( wxWindow *parent, wxWindowID, const wxPoint &pos, const wxSize &size );    ~MyCanvas();    void OnPaint( wxPaintEvent &event );    void CreateAntiAliasedBitmap();    wxBitmap  my_horse_png...

点阵程序

...BB,0x7B,0xFB,0xFB,0xD7,0xEF},/*"物",5*//* (16 X 16 , 宋体 )*/};void del(int i)//============================//延时程序{while(i--);}aline() ////=======================发送一行的显示程序{char i=0;TI=0;for(i=0;i<12;i++){SBUF=cashe[i];while(~TI);TI=0;} //将缓存中的信息转存入...

红外遥控模拟

...OP;        //红外发射管的亮灭 static unsigned int count;       //延时计数器 static unsigned int endcount; //终止延时计数 static unsigned char Flag;      //红外发送标志 char iraddr1;  //十六位地址的第一...

神经网络代码

...YSTEM_ERROR_LEVEL = 0.000001;// the max loop timesconst unsigned int LOOP_MAX_TIMES = 10000;// 步长初始值const double INIT_STEP = 0.001;// 定义工作线程过程ULONG __stdcall WorkThreadProc(LPVOID lParam);

LED闪烁

...lt;reg51.h> sbit LED = P0^0;   //LED接P0.0 void delay(unsigned int x) //延时函数 { while(x--); } void main() //主函数 { while(1) { LED=0;   //P0.0输出低电平,LED灭 delay(5000); //调用延时函数,延时一段时间 LED=1; ...

流水灯

...,0x10,0x20,0x40,0x80};    //流水灯数组 void delay(unsigned int x)   //延时函数 { while(x--); } void main() { unsigned char i; while(1) { P0 = LED[i];   //调用数组内的数据 delay(5000); //延时 i++; //循环一次,变量i加1 if(i>=...

R303T 指纹识别模块

...  {            int n = 0;            label1.Text = fh.AddFinger(out n).ToString();            label2.Text = n.ToString(); &nb...

实时时钟DS1302应用

...x08,0x10,0x20,0x40,0x80}; //位选数组 bit conv; void send(unsigned int x,unsigned int y) //x表示位选,y表示段选 { P1_0 = 0; P1_0 = 1; P0 = scan[x]; P1_0 = 0; //P1.0端口高电平允许存储,P1.0为低电平保存存储 P0 = seven_seg[y]; } ...

《Python深度学习》书籍代码

...   "c = b = 2  # 多变量赋值\n",     "print(a)\n",     "print(b, c)"    ]   },   {    "cell_type": "code",    "execution_count": 4,    "metadata": {},    "outputs": [   &n...

双单片机串口例子

...法 #include <reg51.h> #define uchar unsigned char #define uint unsigned int #define key_port P1 #define dis_port P2 void main (void) { uchar key_in=0xff; SCON=0x50; //MODER1,REN=1; TMOD=0x20; //TIMER1 MODER2; TH1=0xf3;  //bode=2400 TL1=0xf3; ET1=1; TR1=1; E...

微信捐赠

微信扫一扫体验

立即
上传
返回
顶部