搜索资源列表
UART0-communication
- C8051F系列单片机,此程序用UART0实现RS-232通信,运行前将TX0和P00 短接,RX0和P01短接,当接收到一个数据后,再将接收到的数据送出。
UART0
- 此程序用UART0实现RS-232通信,运行前将TX0和P00 短接,RX0和P01短接,当接收到一个数据后,再将接收到的数据送出。-UART0 achieved with this procedure RS-232 communications, running before TX0 and P00 shorted, RX0 and P01 shorted, when a data is received, and then receives the data sent.
anjiansaomiao
- 按键扫描程序,上电时, 点亮P00口LED,操作室注意结对引脚-Key scanner, operating room pay attention to the pin junction
up51s005
- 按键扫描程序,上电时, 点亮P00口LED ,按下AN1时, LED向下移一位 , 按下AN2时, LED向上移一位-Scanner button, power on, the light P00 port LED, when pressed AN1, LED down 1 to press the AN2 time, LED move up a
dianzizhong
- 1 脚接+5V 2,3脚32768HZ晶振 4脚接地 5脚接S51的P02 6脚接S51的P01 7接S51的P00 8脚接后备电源,可以接老计算机主板上的3.6V电池,也可以通过二级管隔离接一个大容量电解电容 电压在2.5V以上即可维持 按键说明:1. 共三个键,低电平有效 2. P04 和 P05 同时按:初始化 3. P06 端口按键:选择要调整的项目 4. P05 端口按键:增加;P04端口按键:减少 [注:AT89S51使用12M晶振]-A pi
Ex26
- 程序功能:STC单片机,开机后,步进电机无动作;按一下s1键,电机正转,按下s2键,电机反转,按下s3键,电机不转 学习重点: 1、步进电机的控掣方法 2、多模块的交互 A组线圈对应 P00 B组线圈对应 P01 C组线圈对应 P02 D组线圈对应 P03-Program features: STC microcontroller, boot, stepper motor no action s1 button click, the motor is
led
- 按P01 LED向右移一位按P00 LED向左移一位连续按动按钮LED会不停的左移或右移 -By P01 LED P00 LED to the right one by pressing the button to the left a continuous LED will stop left or right
RS485
- 此程序用UART1外扩MAX485实现RS-485通信,运行前将TX1和P00 短接,RX1和P01短接,当接收到一个数据后,再将接收到的数据送出。-Expand this program in use UART1 MAX485 RS-485 communication, running before the TX1 and P00 short, short RX1 and P01, then the received data when the receiver to a data send.
Interrupts
- C8051F340单片机系统中断测试,P00和P01用作外部中断端口-C8051F340 SCM system interrupt test, P00 and P01 as an external interrupt port
PinChangeInt-master
- arduino的引脚是已经定义了的。如,我在51上模拟arduino的方式写的就是0是P00,27就是P27。然后用digitalWrite(0,HIGH)方法来让P00引脚置1。因为sbit类型的引脚位定义是不能作为参数传递的。(Arduino pins is already defined. For example, I wrote on the 51 of the method of simulation arduino is 0 is P00, 27 is P27. Then use d