...
首页> 外文期刊>Nuts & volts >UPGRADING OUR SERIAL LCD PROJECT
【24h】

UPGRADING OUR SERIAL LCD PROJECT

机译:升级我们的串行LCD项目

获取原文
获取原文并翻译 | 示例

摘要

In the previous Primer installment, we took a quick look at several of the new features of the recently released M2 line of PICAXE processors, and then explored two of those features in more depth. First, we experimented with the new timeout option for the serrxd and serin commands which now enables us to specify how long (in milliseconds) an M2 program should wait at a serrxd or serin command before "giving up" and moving on if no data is received. As a result, we no longer need to know exactly how many serial bytes will be received. As long as we provide more than enough variables in which to store the incoming serial data, the new timeout option will enable our program to "move on" to processing the data, no matter how many bytes are actually received.
机译:在上一期Primer中,我们快速浏览了最近发布的PICAXE M2系列处理器的几个新功能,然后更深入地探讨了其中两个功能。首先,我们为serrxd和serin命令尝试了新的超时选项,该选项现在使我们能够指定M2程序应在“放弃”之前等待Serrxd或serin命令多长时间(以毫秒为单位),如果没有数据,则继续操作收到。结果,我们不再需要确切地知道将接收多少个串行字节。只要我们提供了足够多的变量来存储输入的串行数据,那么新的超时选项将使我们的程序能够“继续”处理数据,无论实际接收到多少字节。

著录项

  • 来源
    《Nuts & volts 》 |2011年第12期| p.14-18| 共5页
  • 作者

    RON HACKETT;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号