你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

st-img
chrome
st-img
firefox
st-img
safari
st-img
ie8及以上
shequ.stmicroelectronics.cn
  • ST意法半导体官网
  • STM32中文官网
  • ST全球论坛
登录/注册
  • 首页
  • 技术问答
  • 话题
  • 资源
  • 创客秀
  • 视频
  • 标签
  • 积分商城
  • 每日签到
snowywind

snowywind

 

回答数 0 关注数 0
关注 私信
  • 动态99
  • 提问
  • 回答0
  • 创客秀 0
  • 分享 0
  • 关注0
1 回答

关于仿真键盘的问题

未设置标签
snowywind snowywind 回答时间: 2009-7-29 19:51

额~没人知道是为什么吗? 程序是这样的: 端口配置:  //Key pin  //x out  GPIO_InitStructure.GPIO_Pin = PIN_KEYX1 | PIN_KEYX2 | PIN_KEYX3 | PIN_KEYX4;  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;  GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;  GPIO_Init(KEY_PORT, &GPIO_InitStructure);  //y in  //GPIO_InitStructure.GPIO_Pin = PIN_KEYY1 | PIN_KEYY2 | PIN_KEYY3 | PIN_KEYY4;//s//此句有问题  GPIO_InitStructure.GPIO_Pin = PIN_KEYY2 | PIN_KEYY3 | PIN_KEYY4;//s//        //s//GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD;        GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;        //s//GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;  GPIO_Init(KEY_PORT, &GPIO_InitStructure);    //y in  GPIO_InitStructure.GPIO_Pin = PIN_KEYY1;   //s//GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD;        GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;         //s//GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;  GPIO_Init(KEY_PORTB, &GPIO_InitStructure);   利用中断检测键盘 <span style="color: #800000">void SysTickHandler(void) {   if(SysTick_key_scan_count

赞0
snowywind snowywind


阅读作者更多的帖子

所在话题

参与活动

  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16