登录
首页 » c » 51单片机 c语言

51单片机 c语言

于 2022-04-11 发布 文件大小:8.25 kB
0 99
下载积分: 2 下载次数: 1

代码说明:

/*-----------------------------------------------   内容:花样灯一般有两种方法实现:         1、程序循环执行         2、查表法         这里我们两种都使用一下 ------------------------------------------------*/ #include     //包含头文件,一般情况不需要改动,头文件包含特殊功能寄存器的定义

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TVLogoDetection
    C++代码,利用Opencv可检测并识别视频中的台标,方法简单可行,愿对您有用(C++ code, using Opencv can detect and identify the video logo, the method is simple and feasible.)
    2020-09-07 11:48:02下载
    积分:1
  • LMS4
    2010-03-31 11:03:26下载
    积分:1
  • readdxf
    #-------------------------------------------------## Project created by QtCreator 2017-11-01T09:35:55##-------------------------------------------------QT       += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgetsTARGET = read_dxfTEMPLATE = app# The following define makes your compiler emit warnings if you use# any feature of Qt which as been marked as deprecated (the exact warnings# depend on your compiler). Please consult the documentation of the# deprecated API in order to know how to port your code away from it.DEFINES += QT_DEPRECATED_WARNINGS# You can also make your code fail to compile if you use deprecated APIs.# In order to do so, uncomment the following line.# You can also select to disable deprecated APIs only up to a certain version of Qt.#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000&n
    2022-03-17 18:02:15下载
    积分:1
  • Watershed-16
    分水岭算法的实现,能自动对图像进行分割,任何图像都能够读取(Watershed algorithm, can automatically split the image)
    2010-07-19 15:33:21下载
    积分:1
  • owire
    说明:  一线通讯协议的c51例子程序源代码,很实用的好东西!(line communication protocol decoder source code examples, practical good things!)
    2006-01-16 17:17:53下载
    积分:1
  • 2,标准例程-库函数版本
    说明:  stm32的例程,是库函数版本,里面有许多简单的例子(Realize the running lantern)
    2021-03-21 23:34:27下载
    积分:1
  • BEM-win
    an introduction to boundary element methods一书源码(an introduction to boundary element methods one book source)
    2009-02-07 08:29:35下载
    积分:1
  • NotePad2.0
    自已做的记事本源码!与大家共同分享下!支望多提意见!以后功能逐渐完善!!(Notepad to do their own source! To share with you the next! Branch look more suggestions! After the function gradually improved! !)
    2011-11-28 17:35:16下载
    积分:1
  • log4net 在asp.net 记录全局错误例子
    log4net 在asp.net 记录全局错误例子
    2015-06-10下载
    积分:1
  • PIC CCP例
    #include #define uchar unsigned char #define uint unsigned int __CONFIG(0x3B31); uint CCPDE; const uchar table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; void delay(uint x) {  uint j,i;  for(i=x;i>0;i--)  for(j=110;j>0;j--); } uchar temp; void init(); void display(); void xianshi(uchar num1,uchar num2,uchar num3,uchar num4); void main() {  uchar a1=0,a2=0,a3=0,a4=0;  init();  while(1)  {   a1=CCPDE/1000;   a2=CCPDE%1000/100;   a3=CCPDE%100/10;   a4=CCPDE%10;   xianshi(a4,a3,a2,a1);  }   } void init() {  TRISB=0X00;  PORTB=0x06;  TRISC=0x0f;  CCP1IE=1;   T1CON=0X01;  CCP
    2022-12-15 00:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载