-
基于stm32的ucosII程序实现4x2键盘检测
基于keil开发平台,在stm32板子上实现4x2键盘检测。程序完全正确能够完美实现功能。
部分代码摘录:
void Task1(void *pdata)
{
u8 key;
while(1)
{
key=KEY_Scan();
if(key==1)
{
digitalToggle(GPIOD,GPIO_Pin_7); //D4亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==2)
{
digitalToggle(GPIOD,GPIO_Pin_6); //D5亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==3)
{
digitalToggle(GPIOD,GPIO_Pin_5); //D6亮
OSTimeDlyHMSM(0,0,1,0);
}
if(key==4)
{
&n
- 2022-08-12 16:41:51下载
- 积分:1
-
ucosii移植基于LPC2148,六团
基于LPC2148的UCOSII移植,带6个任务-UCOSII transplantation based on the LPC2148, with six mission
- 2022-03-17 16:45:38下载
- 积分:1
-
Use RTOS to implement quality, damp and etc inside mechanic systems. You could a...
-利用实时操作系统在机械系统内部实现质量、阻尼等功能。你也可以输入m,k,c来改变正弦波。
- 2022-02-05 01:25:26下载
- 积分:1
-
MSP430源代码
电机的控制端分别接P1.7,P2.0,P2.1,P2.2,调速端接P2.3,P2.4,通过msp430f149的P2.3,P2.4输出PWM波,实现对电机的控制.
- 2022-03-24 15:59:11下载
- 积分:1
-
这是一个FPGA 的经典列子 有帮组 初学者 迅速掌握FPGA
这是一个FPGA 的经典列子 有帮组 初学者 迅速掌握FPGA-This is a classic Liezi FPGA group in helping beginners to grasp the FPGA
- 2023-04-08 20:45:03下载
- 积分:1
-
HT1380 clock chip control procedures, HT1380 using serial transmission of data,...
HT1380时钟芯片控制程序,HT1380采用串行传送数据,可记录年,月,日,星期,小时,分和秒.-HT1380 clock chip control procedures, HT1380 using serial transmission of data, can record the year, month, , weeks, hours, minutes and seconds.
- 2022-02-20 17:59:29下载
- 积分:1
-
Technological compiler environment, w3100 chip card drivers, we can hope to help
hew编译环境,网卡w3100芯片的驱动程序,希望能给大家帮助-Technological compiler environment, w3100 chip card drivers, we can hope to help
- 2022-08-22 12:36:00下载
- 积分:1
-
嵌入式USB HOST sl811hs的驱动程序
嵌入式USB HOST sl811hs的驱动程序-A driver for USB host sl1811hs
- 2023-02-05 17:55:04下载
- 积分:1
-
minigui example source code, target board processor is s3c2410, including the co...
minigui实例源代码,目标板处理器是s3c2410,包括相应的配置文件。代码包括Dialog box、Simple editor、Bitbmp disp、GDI draw等
-minigui example source code, target board processor is s3c2410, including the corresponding configuration file. Code including the Dialog box, Simple editor, Bitbmp disp, GDI draw, etc.
- 2022-03-06 08:20:21下载
- 积分:1
-
拼音输入的c语言片成
拼音输入的c语言片成-phonetic input language films into c
- 2023-09-08 23:10:04下载
- 积分:1