-
///*** *** *** *
//一、程序说明:
//1, 24LC02器件地址是1010000R/W.
//2, 数组写入24LC02采取页写...
///*** *** *** *
//一、程序说明:
//1, 24LC02器件地址是1010000R/W.
//2, 数组写入24LC02采取页写方式.
//3, 数组code从24LC02读出时采取自由读方式.
//4, 采用4.00M晶体。
//5,采用软件I2C。
//二、硬件连接:
//1, SDA------->23 pin.(当然你可以任意选择脚位)
//2, SCL------->18 Pin.(当然你可以任意选择脚位)
//3, PORTB----->数码管的段输出
//4, RD4,RD5,RC6,RC7------->数码管的位输出(数码管为共阴极)
-///*******************// A description of the procedures:// 1, 24LC02 device address is 1010000R/W.// 2, write an array to take 24LC02 page write mode.// 3, the array read out the code from the 24LC02 to take a free read.// 4, using 4.00M crystal.// 5, using software I2C.// Second, the hardware to connect:// 1, SDA-------> 23 pin. (Of course, you can choose to pin)// 2, SCL-------> 18 Pin. (Of course You can choose pin)// 3, PORTB-----> digital tube output segment// 4, RD4, RD5, RC6, RC7-------> digital pipe-bit output (digital tube for a total of cathode)
- 2022-03-19 01:38:16下载
- 积分:1
-
电动车里程表,安装在自行车上,能显示当前速度,显示总里程数,可以用来做别的,抛砖引玉...
电动车里程表,安装在自行车上,能显示当前速度,显示总里程数,可以用来做别的,抛砖引玉-Electric vehicle odometer, installed on the bike, can display the current speed, showing the total mileage that can be used to do anything else, start
- 2023-02-09 05:50:03下载
- 积分:1
-
简单的正弦波方波三角波发生器采用Keil C51,12MHz的晶体…
简易正弦波三角波方波发生器
使用keil C51,12MHZ晶振,AT89C2051
-Simple sine wave square wave triangle wave generator using keil C51, 12MHZ crystal, AT89C2051
- 2022-11-16 17:55:03下载
- 积分:1
-
f020 PCA产生16位或者16 位的PWM 波形
f020 PCA产生16位或者16 位的PWM 波形-f020 PCA produced 16 or 16 of the PWM waveform
- 2023-08-28 21:55:03下载
- 积分:1
-
采用dspic30f2010的变频器核心驱动程序,程序可以实现正转/反转,频率设定,保护等...
采用dspic30f2010的变频器核心驱动程序,程序可以实现正转/反转,频率设定,保护等-the inverter used dspic30f2010 core drivers, procedures can be achieved is to/inversion, frequency creation, protection
- 2022-02-01 21:49:59下载
- 积分:1
-
(一)OCMJ8X15D的触摸屏是用模块内部控制器控制的, (二)OCMJ15X20D(V3.2)的触摸屏是用ADS7843控制的,该控制器已集成在模块上,模块...
(一)OCMJ8X15D的触摸屏是用模块内部控制器控制的, (二)OCMJ15X20D(V3.2)的触摸屏是用ADS7843控制的,该控制器已集成在模块上,模块已留出ADS7843的控制线供客户使用(OCMJ15X20D上的J5脚),
- 2023-04-07 02:35:04下载
- 积分:1
-
PIC单片机与MAX517的串行通讯程序
PIC单片机与MAX517的串行通讯程序-PIC microcontroller with Between MAX517 serial communication program
- 2023-04-27 15:35:04下载
- 积分:1
-
里面是单片机的开发板的源程序,包括AD,DA转换,数码管显示,按键的识别,液晶的显示是、数据存储,等等 还有开发板配套的原理图和PCB图纸,让你看整个程序更容易...
里面是单片机的开发板的源程序,包括AD,DA转换,数码管显示,按键的识别,液晶的显示是、数据存储,等等 还有开发板配套的原理图和PCB图纸,让你看整个程序更容易-There is a single-chip development board of the source, including AD, DA conversion, digital tube display, identification keys, LCD display, the data storage, and so there is supporting development board schematic and PCB drawings, so that you look at the whole process easier
- 2022-11-06 13:10:04下载
- 积分:1
-
二进制小数转为十进制BCD码的汇编程序,结果保留四位并在七段数码管上输出...
二进制小数转为十进制BCD码的汇编程序,结果保留四位并在七段数码管上输出-decimal to binary decimal BCD compilation procedures, and results in four reservations in paragraph 107 digital output tube
- 2022-05-13 00:19:33下载
- 积分: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