文件名称:tree

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 2kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 脱**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

单片机系统上电后,P0 口和 P1 口都被清 0。然后,你规定一个由 6 个数字构成的序列(每个数字从 0~F 中选取),比如 E、8、9、0、7、F。然后每次当单片机检测到外部中断 0发起中断时间时,读取 P0 口和 P1 口上的状态值,当连续 6 次外部中断事件的对应的数字序列构成你所设定的序列后(举例来说,如果 P0.0 是 1,P0 和 P1 的其他管脚是 0,那么我们称为检测到一次数字 0),从串口打印输出一幅类似下图的 16×16 的ASCII码的圣诞树图片。-Single-chip microcomputer system after power, P0 and P1 mouth I have been ching 0. Then you set a six figure constituted by the sequence (each number from 0 ~ F in selected), for example, E, 8,9,0,7, F. And then each time a single-chip detects external interrupt 0 initiated interruption time, I read the P0 and P1 mouth on the state value, when a row 6 times the corresponding external interrupt events constitute digital sequence set your sequence (for example example, if P0.0 is 1, P0 and P1 of the other pin is 0, then we called a number of detected 0), a printout from the serial port under similar 16 × 16 map of the ASCII code of the Christmas tree图片.
相关搜索: 外部中断

(系统自动生成,下载前可以参看下载内容)

下载文件列表

KeilcBasicFun.c

KeilcBasicFun.h

tree.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org