-
XC824M_SPWM
XC824单片机的编程代码,英飞凌8位机系列,初始化代码的参考例程(the code for xc824 8 bit MCU)
- 2018-08-22 10:35:13下载
- 积分:1
-
8x8snake
while(1)
{//if(keyenable==1){P1=0x00 P2=0xff }else{P1=0xff P2=0x00 }
for(i=3 i<SNAKE+1 i++)x[i]=100 for(i=3 i<SNAKE+1 i++)y[i]=100 //初始化
x[0]=4 y[0]=4 //果子
n=3 //蛇长 n=-1
x[1]=1 y[1]=0 //蛇头
x[2]=0 y[2]=0 //蛇尾1
addx=0 addy=0 //位移偏移
//k=1
while(1){if(keyenable)break timer0(1) }
while(1)
{timer0(e)
if(knock()){e=SPEED break } //判断碰撞
if((x[0]==x[1]+addx)&(y[0]==y[1]+addy)) //是否吃东西
- 2011-07-09 23:00:46下载
- 积分:1
-
stopwatch_if
用IF语句实现秒表功能的代码,显示范围在000至99.9.(Stopwatch function code with the IF statement, displayed in the range of 000 to 99.9.)
- 2015-07-13 22:33:36下载
- 积分:1
-
222009322072112
由于太阳能充电系统多在户外,为了方便研究太阳能充电控制系统对蓄电池的充电情况,本文使用GPRS无线传输技术,设计了一套太阳能充电系统蓄电池的充电电压电流远程实时监测系统。系统的硬件部分由电压电流检测电路、单片机STC89C52RC、GPRS模块SIM300以及相应的外围电路构成,下位机软件由C语言编写并与硬件部分构成系统下位机部份,实现了对充电电压电流的信息采集以及数据的无线数传。上位机在LabVIEW2010环境下编写,具备友好的人机交互界面,实现了数据的远程接收、实时显示、数据库管理、报表生成和打印等功能。经过系统测试系统实现了对电压电流的远程监测。(As the solar charging system more outdoors, in order to facilitate the study of solar charge control system for charging the battery case, we use GPRS wireless transmission technology, we designed a solar charging system battery charge voltage and current remote monitoring system. The hardware part of the system by the voltage and current detecting circuit, microcontroller STC89C52RC, GPRS module SIM300 and corresponding peripheral circuits, lower computer software written in C language and hardware parts lower position machine part of the system, the realization of the charging voltage and current information collection and wireless data transmission of data. PC at LabVIEW2010 prepared environment, with friendly interactive interface, realize the remote receiving data, real-time display, management, report generation and printing. After the system test system enables remote monitoring of voltage and current.)
- 2016-01-08 11:43:43下载
- 积分:1
-
STM32-based-temperature-P-voltage
STM32温度+电压电流(上位机显示好的)(STM32-based temperature+ voltage display (PC display))
- 2021-04-13 21:18:56下载
- 积分:1
-
the-voltage-ad-collection
单片机1260Sc5a 的ad 采集电压,带详细注解,适合初学者哦!(The microcontroller 1260Sc5a ad collection voltage, with detailed notes, suitable for beginners Oh!)
- 2013-05-09 22:43:22下载
- 积分:1
-
pq
说明: 用PSCAD软件编写的典型的分布式发电机PQ控制(PQ control of the distributed generators)
- 2012-05-12 16:50:49下载
- 积分:1
-
E_Business
电商毕设小项目,希望对新手能有所帮助,高手就别下载了(simple project)
- 2014-10-27 17:23:47下载
- 积分:1
-
Nand-flash-for-Udisk
三星K9F1G08U0A的nand flash,U盘程序,实现坏块管理、均匀磨损等(this program is designed for disk based on SAMSUNG nand flash K9F1G08U0A )
- 2012-02-06 16:26:45下载
- 积分:1
-
finish
C8051Fxx 串口指令单独控制电压表N的状态,电压值串口读取(C8051Fxx serial instruction individually controlled voltage meter N state, the serial port to read voltage value)
- 2015-02-13 10:21:43下载
- 积分:1