文件名称:source
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- zha***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用S51单片机控制驱动芯片L298程序(C语言) 有六个端口,输入端口分别为P1.0,P1.1,P1.2,P1.3,P1.4,P1.5.
六个输出端口分别为P0.0,P0.1,P0.2,P0.3,P2.4,P2.5.
其中P0.0,P0.2,P2.5输出高低电平.P0.1,P0.3,P2.4输出PWM脉冲信号.
程序要求 只要P1.0-P1.5中任一个为"1",则P0.0,P0.2输出高电平
当P1.2或P1.3为"1",P0.1,P0.3输出占空比相同的PWM信号-With S51 SCM procedures L298 driver chip (C language) there are six ports, input ports, respectively, for P1.0, P1.1, P1.2, P1.3, P1.4, P1.5. Six output ports were P0.0, P0.1, P0.2, P0.3, P2.4, P2.5. which P0.0, P0.2, P2.5 output high-low. P0.1, P0. 3, P2.4 output PWM pulse signal. procedural requirements P1.0-P1.5 as long as any one to 1 , the P0.0, P0.2 output high when the P1.2 or P1.3 to 1 , P0.1, P0.3 same PWM duty cycle output signal
六个输出端口分别为P0.0,P0.1,P0.2,P0.3,P2.4,P2.5.
其中P0.0,P0.2,P2.5输出高低电平.P0.1,P0.3,P2.4输出PWM脉冲信号.
程序要求 只要P1.0-P1.5中任一个为"1",则P0.0,P0.2输出高电平
当P1.2或P1.3为"1",P0.1,P0.3输出占空比相同的PWM信号-With S51 SCM procedures L298 driver chip (C language) there are six ports, input ports, respectively, for P1.0, P1.1, P1.2, P1.3, P1.4, P1.5. Six output ports were P0.0, P0.1, P0.2, P0.3, P2.4, P2.5. which P0.0, P0.2, P2.5 output high-low. P0.1, P0. 3, P2.4 output PWM pulse signal. procedural requirements P1.0-P1.5 as long as any one to 1 , the P0.0, P0.2 output high when the P1.2 or P1.3 to 1 , P0.1, P0.3 same PWM duty cycle output signal
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt