nRF24E1编程下载板是我们自行开发的简易无线通信模块nRF24E1的在线下载板,使用方便。 nRF24E1编程下载板源程序包括上位机程序、单片机固件程序和nRF24E1内51核控制程序, 分别存放在“上位机程序”、“AT89S52”和“nRF24E1”三个文件夹内。 “上位机程序”内有应用软件download.exe。 “AT89S52”内有单片机固件源程序download.c,可以直接编译连接生成下载文件,下载到目标单片机AT89S52中。 “nRF24E1”内有控制nRF24E1工作的源程序,分别是: 24E1.c:典型控制应用; putchar.c:nRF24E1串行通信源程序; transmit.c:nRF24E1无线发送源程序; receive.c:nRF24E1无线接收源程序; “Temperature”:nRF24E1控制DS18B20温度采集并无线发送源程序。
上传时间: 2013-12-02
上传用户:wqxstar
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
本文专题讨论VC中的界面美化,适用于具有中等VC水平的读者。读者最好具有以下VC基础: 1. 大致了解MFC框架的基本运作原理; 2. 熟悉Windows消息机制,熟悉MFC的消息映射和反射机制; 3. 熟悉OOP理论和技术;
标签: 美化
上传时间: 2014-09-01
上传用户:jeffery
一、利用随机函数产生3000个随机整数,利用选择排序、起泡排序、快速排序、合并排序等排序方法进行排序,并统计每一种排序上机所花费的时间。 二、石子归并问题:在一个圆形操场的四周摆放着N堆石子(N<= 100),现要将石子有次序地合并成一堆.规定每次只能选取相邻的两堆合并成新的一堆,并将新的一堆的石子数,记为该次合并的得分.编一程序,由文件读入堆栈数N及每堆栈的石子数(<=20)。 (1)选择一种合并石子的方案,使用权得做N-1次合并,得分的总和最小; (2)选择一种合并石子的方案,使用权得做N-1次合并,得分的总和最大; 课程设计
上传时间: 2016-01-22
上传用户:wanghui2438
某个班一个学期的学生成绩管理,课程数量为5门课程,学生人数为10人。 程序应包括以下功能: (1)从键盘输入包括学号,姓名,各门课程和成绩; (2)计算每个人的总分和平均分,并按平均分排序; (3)具有查询功能; (4)具有增减学生的功能; (5)将原始数据和计算后的数据保存在磁盘文件中
标签:
上传时间: 2016-01-24
上传用户:1159797854
具有的功能适合于网站的运营和管理,主要有以下几个方面,后台管理主要有以下几大模块: 1、 网站管理模块; 2、 网站整合安装模块; 3、 会员/管理员管理模块; 4、 数据库管理模块; 5、 模板管理模块;
标签: 网站
上传时间: 2014-06-17
上传用户:sunjet
学习方法: 1、明确问题 列举尽可能多的问题,越具体越好。 “这是什么意思?”;“为什么这样?”;“若这样变一下,则会怎样?”…… 及时收集问题,重点解决。 2、勤于实践 分析问题;找到解决方案;纸面上编程实现方案;纸面上测试程序、并确定测试数据; 上机测试、修改、再测试;总结、提高。 3、力争主动 加强预习:课前20分钟,浏览课文,确定重点和难点,列举具体问题。 重视复习:每次课后要立即回答“这次课上有哪些新内容?这些内容是否已理解?” 4、实例研究 分析典型实例,通过研究实例掌握技能。 先读懂程序;反复修改、运行、观察;再模仿完成自己的设计。 5、牢记概念
标签:
上传时间: 2014-01-05
上传用户:himbly
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
标签: converts Toolbox complex logical
上传时间: 2016-02-12
上传用户:a673761058
主要内容是:以本地数据库为主,介绍通过BDE存取数据库;通过ODBC、ADO操作数据库;SQL在数据库中的应用;数据库程序的安装制做;
标签: 本地数据库
上传时间: 2016-02-17
上传用户:宋桃子
设计题目:设计一个跳棋程序,人机对弈。 规则要求只允许单步走或单步跳或单步连跳;从游戏开始到判断胜负或中途弃权一应俱全;程序既有规则算法,又有可视化界面,并完全采用面向对象方法编写;程序中有必要的注释;系统文档要完整,并且按时提交试验报告. 总体包括4大模块:棋盘显示;棋子显示;棋子操作;算法函数。其中我负责的有棋盘的初始化,和如何将鼠标指示到棋子所走的具体位置,以及如何算法函数,及如何判断出来哪方赢.
标签: 程序
上传时间: 2016-02-22
上传用户:黄华强