搜索结果
找到约 254 项符合
long-Term 的查询结果
嵌入式综合 红外遥控RGB
#include "STC90.h"
#include < intrins.h >
#define uchar unsigned char
#define uint unsigned int
#define led_port P1
sbit IR_RE = P3^2;
sbit led_r = P1^3;
sbit led_g = P1^4;
sbit led_b = P1^5;
sbit led_wd = P1^7;
sbit K1 =P3^0 ; //增加键
sbit K2 =P3^1 ; ...
源码 c#简单计算器
// 学生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; ...
软件 简单的计算器
// 学生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; ...
源码 12345
/****************temic*********t5557***********************************/ &nbsp;&nbsp;
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
笔记 一个按键控制的 10 级变速跑马灯试验
在本课中,我们要用一个按键来实现跑马灯的 10 级调速。这又会涉及到键的去抖的问
题。&nbsp;
本课的试验结果是,每按一次按键,跑马速度就降低一级,共 10 级。&nbsp;
这里我们又增加了一个变量 speedlever,来保存当前的速度档次。&nbsp;
在按键里的处理中,多了当前档次的延时值的设置。&nbsp;
请看程序:&nbsp;
―― ...
笔记 模拟 PWM 输出控制灯的 10 个亮度级别
LED 一般是恒流操作的,如何改变 LED 的亮度呢?答案就是 PWM 控制。在一定的
频率的方波中,调整高电平和低电平的占空比,即可实现。比如我们用低电平点亮一个 LED
灯,我们假设把一个频率周期分为 10 个时间等份,如果方波中的高低电平占空比是 9:1,
这是就是一个比较暗的亮度,如果方波中高低电平占空比是 10:0,这时 ...
论文 用于锂 - 硫电池的纳米结构金属氧化物和硫化物(1)
Lithium–sulfur (Li–S) batteries with high energy density and long cycle life are considered to be one of the most promising next-generation energy-storage systems beyond routine lithium-ion batteries. Various approaches have been proposed to break down technical barriers in Li–S battery systems. ...
源码 单片机用精度除法函数
精度除法函数。
调用函数,并输入被除数、除数和精确到小数点后多少位。即可得到商的整数部分和小数部分。
/*************************精度除法函数********************************/
//========================================================================
// 函数: Void chufa(unsigned long beichushu,u ...
书籍 Fundamental Limits on a Class of Secure
Abstract—In the future communication applications, users
may obtain their messages that have different importance levels
distributively from several available sources, such as distributed
storage or even devices belonging to other users. This
scenario is the best modeled by the multilevel diversity ...
书籍 Cognitive+Radio,+Software+Defined+Radio
Today’s wireless services have come a long way since the roll out of the
conventional voice-centric cellular systems. The demand for wireless access
in voice and high rate data multi-media applications has been increasing.
New generation wireless communication systems are aimed at accommodating
thi ...