-
5045的底层操作程序,使用时根据实际接线情况对程序中管脚定义部分做适当修改
//定义管脚
sbit SCK=P3^4 //时钟
sbit SI=P...
5045的底层操作程序,使用时根据实际接线情况对程序中管脚定义部分做适当修改
//定义管脚
sbit SCK=P3^4 //时钟
sbit SI=P3^5 //CPU--->5045
sbit SO=P3^5 //5045-->CPU
sbit CS=P3^6 //片选
-5045 underlying operating procedure, when used in accordance with the actual situation on the process of wiring pin to do some appropriate changes to the definition// define pin sbit SCK = P3 ^ 4// clock sbit SI = P3 ^ 5// CPU-
- 2022-07-12 18:25:31下载
- 积分:1
-
595 digital tube
595数码管驱动,用于51单片机,使用3个io口,串行驱动数码管-595 digital tube-driven, for 51 MCU, using 3 io port, serial driver digital tube
- 2022-03-03 16:03:02下载
- 积分:1
-
急救车与交通灯)(1)南北与东西方向,每个方面由红黄绿三个灯控制(2)南北向: 红(30秒),黄(5秒),绿(25秒) 东西向: 红(35秒),黄(5秒),...
急救车与交通灯)(1)南北与东西方向,每个方面由红黄绿三个灯控制(2)南北向: 红(30秒),黄(5秒),绿(25秒) 东西向: 红(35秒),黄(5秒),绿(25秒) 上述基本参数可以根据实际情况自行调整,灯的变化规律与实际路口规律相同,绿灯在最后5秒钟时,黄灯亮,然后红灯亮,不允许两个方面同时亮绿灯。(3)绿灯的时间显示在数码管上进行显示。(4)可以通过一个开关控制,当开关信号为0时,整个交通灯全灭提高要求:(1)设计一个紧急控制开关信号,当紧急开关信号为1时,两个方向的灯全为红灯。紧急开关撤消后,按照开关按下之前的状态继续运行(其参数要保存)。(2)设计一个夜间行车开关,当开关按下后,两个方向都只有黄灯闪烁,其它灯熄灭。(3)设计两个方向的亮时时间可调。-emergency vehicles and traffic lights) (1) North and South and east-west direction, each with three yellow-green from red lights control (2) to the north and south : red (30 seconds), yellow (5 seconds), Green (25 seconds) to things : red (35 seconds), yellow (5 seconds) Green (25 seconds) above basic parameters can be adjusted to the actual situation, the light changes with the actual law of the same intersection, the green light in the final five seconds, the yellow light is on, and then a red light, bright, not two fronts simultaneously bright green. (3) the green light at the time displayed on the digital display control. (4) can be controlled by a
- 2022-01-22 01:28:42下载
- 积分:1
-
SCM 72.16 procedures used to demonstrate HEX SCM 72.16 procedures used to demons...
单片机上网卡演示用HEX程序 -SCM 72.16 procedures used to demonstrate HEX SCM 72.16 procedures used to demonstrate HEX
- 2023-08-08 17:35:04下载
- 积分:1
-
use language to achieve the agreement of the source C8051FTCP/IP
使用c语言编写的实现C8051FTCP/IP协议的源程序-use language to achieve the agreement of the source C8051FTCP/IP
- 2022-03-17 18:30:18下载
- 积分:1
-
at89c5x系列的at89s53的芯片资料
at89c5x系列的at89s53的芯片资料-at89c5x series chips at89s53 information
- 2022-05-17 12:39:40下载
- 积分:1
-
呕心沥血花了将近一个月编写的打印机程序,可用在89C51系列
呕心沥血花了将近一个月编写的打印机程序,可用在89C51系列-born to spend nearly a month to prepare the printer procedures available in 89C51 Series
- 2022-10-28 03:00:04下载
- 积分:1
-
单片机c8051f020片内温度传感器的使用,将是主流的8位单片机
单片机c8051f020片内温度传感器的使用,将是主流的8位单片机-C8051f020 microcontroller chip temperature sensor use, will be the mainstream of 8-bit microcontrollers
- 2022-07-19 14:00:07下载
- 积分:1
-
常用串行EEPROM的编程应用,EEPROM是"Electrically Erasable Programmable Read...
常用串行EEPROM的编程应用,EEPROM是"Electrically Erasable Programmable Read-only"(电可擦写可编程只读存储器)的缩写,EEPROM在正常情况下和EPROM一样,可以在掉电的情况下保存数据,所不同的是它可以在特定引脚上施加特定电压或使用特定的总线擦写命令就可以在在线的情况下方便完成数据的擦除和写入-Commonly used application of serial EEPROM programming, EEPROM is Electrically Erasable Programmable Read-only (Xinhua EPROM) acronym, EEPROM under normal circumstances and EPROM, as in the case of power-down to save data , What is different is that it can exert in a particular pin on a specific voltage or use specific bus write command can be in the case of online data to facilitate the completion of the erase and write
- 2022-01-23 11:15:59下载
- 积分:1
-
此程序为利用mage8 AVR 和EM4094实现读取ISO15693类型卡的C程序、读卡稳定、这个项目我们做了好久、非常不错的程序、很适合做这方面产品的朋友们...
此程序为利用mage8 AVR 和EM4094实现读取ISO15693类型卡的C程序、读卡稳定、这个项目我们做了好久、非常不错的程序、很适合做这方面产品的朋友们参考-This procedure for the use of mage8 AVR and EM4094 achieve ISO15693 type of card reader C procedures, reader stability, the project we have done for a long time, very good program, it is suitable for products in this area refer to my friends
- 2022-01-26 02:23:11下载
- 积分:1