登录
首页 » c » 24l01发送端代码

24l01发送端代码

于 2022-03-18 发布 文件大小:10.58 MB
0 150
下载积分: 2 下载次数: 1

代码说明:

#include #include #include "1602.h"typedef unsigned char uchar;typedef unsigned char uint;//****************************************IO端口定义***************************************sbit  MISO =P1^2;sbit  MOSI =P3^2;sbit SCK     =P1^6;sbit CE     =P1^5;sbit CSN  =P1^7;sbit IRQ  =P1^3;//***********************************数码管0-9编码*******************************************uchar seg[10]={0xC0,0xCF,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};         //0~~9段码//************************************按键**********************************************sbit KEY1=P3^6;sbit KEY2=P3^7;//***********************************数码管位选**************************************************sbit led1=P2^1;

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

发表评论

0 个回复

  • Hashi游戏
    复现康斯的Hashi游戏,同时有自动解决算法,采用最裸的dfs,能够保证有解。也能有自定义地图的模式,能够自定义地图。
    2022-05-28 00:06:31下载
    积分:1
  • 基于opencv红外目标识别与跟踪
    基于Opencv的红外运动目标识别与跟踪,内附红外演示与源代码。对红外视频图像中运动目标的检测问题,提出了一种以OpenCV为平台,以背景差分法为基础的运动目标检测算法,在传统检测方法基础上进行了改进,使用该算法不需要进行背景初始化,能直接检测运动目标,并有效抑制了虚警。利用OpenCV提供的函数库在Visual Studio 2008平台上编程实现。实验结果表明,该方法具有目标跟踪快、检测概率高、实时性好等特点。
    2022-02-26 07:58:19下载
    积分:1
  • SEED_ADK6727_UART
    SEED 合众达ADK6727关于串口通信UART测试程序源代码(SEED ADK6727 serial port communication UART testing program)
    2013-09-09 16:52:20下载
    积分:1
  • PSCAD中的波形导入到Matlab-PSCAD
    风能功能实现,包括DFIG以及风电场的各种模型。主要由PSCAD软件搭建的模型。包括线路故障,低电压穿越,以及线路测距的各种模型。(The wind and a variety of functions, including DFIG model of wind farm. Mainly by the PSCAD software to build the model.Including the fault line, low voltage ride through, and a variety of models ranging in line.)
    2017-09-16 10:05:07下载
    积分:1
  • msp430switch
    msp430f switch capture sample source
    2013-04-04 12:38:42下载
    积分:1
  • caishuzi
    猜数字:由计算机随机产生一个1~10000以内的数字,用户根据提示猜出该数字,功能要求如下: (1)游戏结束条件:1)在规定时间内正确猜出该数字;2)规定用时耗完。 (2)游戏提示:根据用户的输入与所产生数字的大小关系给出正确提示,例如,随机产生数为5000,若用户输入6000,则提示“高了”,若用户输入4000,则提示“低了”。 (3)游戏结果显示:1)若用户在规定时间内正确猜出数字,则显示“恭喜!正确猜出数字***。”;2)若到达规定时间但并未猜出,则显示“很遗憾,未能在规定时间内猜出正确数字,该数字为***。” ,其中,“***”表示所需猜出的随机数。 (4)游戏时间设置:可由用户灵活设置游戏时间,此部分内容应在游戏开始前完成。 (5)游戏退出设置:在每轮游戏结束之后,给出提示语,请用户选择是否继续游戏。 (Guess the Numbers: randomly generated by computer within a 1 ~ 10000 Numbers, according to the user to guess the Numbers, functional requirements are as follows: (1) the game conditions: 1) correctly guess the number within the given time 2) regulation is run out. (2) game tip: according to the size of the user input and produced digital relationships give prompt, correct, for example, random number is 5000, if the user input, 6000 indicates that high , if the user input, 4000 indicates that the low . (3) the game results showed: 1) if the user within the prescribed time to guess the Numbers correctly, is displayed congratulations! Guess the right number***. 2) but not guess, if arrive time required is displayed it s a pity that failed to guess the right number within the prescribed time, the number is***. , among them, *** needed to guess the random Numbers. (4) : time setting can be set by the user the game time, this part should be completed before the start of the ga)
    2020-07-04 13:20:01下载
    积分:1
  • PolyFractionValu
    本程序提供大量实用多项式计算函数:求一维实(复)多项式值、求一维多项式组值、求二维实(复)多项式值、两一维多项式相乘、两一维多项式除法、计算连分式函数值。(look it yourself.)
    2021-02-19 10:19:44下载
    积分:1
  • K1_STK_v1.1
    keystone架构TMS320C6678芯片的基本外设驱动。包括串口、SPI、GPIO等。也可用于其他6000系列的DSP芯片(the basic software of TMS320C6678,including the UART,SPI and GPIO. This software can be applied to other C6000 Digital signal Processing chip.)
    2015-05-18 09:19:34下载
    积分:1
  • 这是基于stm32的线性ccd寻迹的智能小车
    这是基于stm32的线性ccd寻迹的智能小车,线性ccd用的是蓝宙的,主控芯片是stm32f103,程序包含详细的算法,包含寻跳变沿寻迹和二值化寻迹,还有滤波算法包含均值滤波和五点滤波法等,经测试小车跑的效果很好。
    2022-01-27 11:06:41下载
    积分:1
  • SHT20测试程序
    本作品是基于stm32检测温湿度,可以通过串口观察实时状态。(This work is based on stm32 detection temperature and humidity, you can observe the real-time status through the serial port.)
    2020-12-03 22:19:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载