-
89S51 与数码管显示器以及键盘SW 对应引脚的联机为:
P0.0
89S51 与数码管显示器以及键盘SW 对应引脚的联机为:
P0.0-------------------------数码管显示器的a脚
P0.1-------------------------数码管显示器的b脚
P0.2-------------------------数码管显示器的c脚
P0.3-------------------------数码管显示器的d脚
P0.4-------------------------数码管显示器的e脚
P0.5-------------------------数码管显示器的f脚
P0.6-------------------------数码管显示器的g脚
P0.7-------------------------数码管显示器的dp脚
;
P2.2-------------------------数码管显示器1的驱动脚
P2.3-------------------------数码管显示器2的驱动脚
P2.4-------------------------数码管显示器3的驱动脚
P2.5-------------------------数码管显示器4的驱动脚
P2.6-------------------------数码管显示器5的驱动脚
P2.7-------------------------数码管显示器6的驱动脚
;
P2.2-------------------------键盘SW1
P2.3-------------------------键盘SW2
P2.4-------------------------键盘SW3
P2.5-------------------------键盘SW4
P2.6-------------------------键盘SW5
P2.7-------------------------键盘SW6-devised with the digital control display and keyboard SW corresponding pin online : P0.0------------------------- Digital Display of a foot P0 .1--------
- 2022-06-03 18:10:38下载
- 积分:1
-
Python对文件IO操作
filePath="c:/test/tt.txt"
#从文件中读取信息
f=open(filePath, "r")#运用读的方式打开文件,
for line in f: #每次读取文件的一行内容
print(line)
f.close()
#向文件中写入信息
f=open(filePath, "a") #这里有两种方式:第一种是以w的形式,它写入时将会清空以前的数据然后再写入数据,第二种是以a的形式,它以追加的形式写入数据
f.write("我开始向文件中写入信息
")
f.writelines("我已经向文件写入了信息")
f.close()
- 2022-03-02 22:46:33下载
- 积分:1
-
中断控制器8259应用实验-中断方式控制彩灯点亮
这个是8255和8259的综合使用...
中断控制器8259应用实验-中断方式控制彩灯点亮
这个是8255和8259的综合使用-8259 interrupt controller test applications- interrupt control lantern lit the 8255 and 8259 is the integrated use of
- 2023-01-08 12:20:03下载
- 积分:1
-
68013 FIFO通信与安装,你也有时间来看看!
68013与fifo通信设置,还请各位有时间看看!-68,013 fifo communication with the setup, you also have time to look at!
- 2022-07-07 07:57:58下载
- 积分:1
-
hex 转 二进制
hex 转 二进制-hex binary switch
- 2022-10-12 23:10:02下载
- 积分:1
-
从软盘启动计算机,并且可以显示时钟,按键可以改变屏幕颜色...
从软盘启动计算机,并且可以显示时钟,按键可以改变屏幕颜色-your computer from a floppy disk, and can display clock, screen buttons can change color
- 2022-01-21 06:27:12下载
- 积分:1
-
用MASM写的显示系统时间的程序,内附源码和说明
用MASM写的显示系统时间的程序,内附源码和说明-written with Multiple Display System time-consuming procedures, and notes containing FOSS
- 2022-04-24 21:05:04下载
- 积分:1
-
integer function for the two majors and the least common multiple source files
函数求两个整数的最大公约数和最小公倍数的源程序-integer function for the two majors and the least common multiple source files
- 2022-03-04 00:37:23下载
- 积分:1
-
随机产生10道互不相同的20以内的加减法(加减数及和差均<=20)待用户答完题后,显示用户的得分、评语及正确答案。并带彩色,计时器和系统日期和时间。这是我...
随机产生10道互不相同的20以内的加减法(加减数及和差均
- 2022-05-30 18:41:16下载
- 积分:1
-
基于L297/L298芯片步进电机的单片机控制
基于L297/L298芯片步进电机的单片机控制-L297/L298 chip-based single-chip stepper motor control
- 2023-04-16 03:10:04下载
- 积分:1