...
首页> 外文期刊>ElektorLabs >Hands On the Parallax Propeller 2 Part 3: Smart Pins and Serial Data (UART)
【24h】

Hands On the Parallax Propeller 2 Part 3: Smart Pins and Serial Data (UART)

机译:双手在视差螺旋桨2第3部分:智能引脚和串行数据(UART)

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

摘要

In the previous articles in this series, we started coding the Propeller 2 MCU and we illuminated an LED using SPIN2. Now I will provide you with a solution to make it blink, and then I will continue with the IO pins. Let's get started. You can follow a simple "turning it off and on again"-scheme. To do so, you need the following ingredients: 1.pinwrite() 2.repeat() 3.waitms() The necessary steps include: 1.Turn the LED on 2.Wait 500 ms 3.Turn the LED off 4.Wait 500 ms 5.Repeat The code will look like what you see in Figure 1. You can download it from the article webpage [1].
机译:在本系列的前一篇文章中,我们开始编码推进器2 MCU,并使用Spin2照亮LED。 现在我将为您提供一个解决方案来使其闪烁,然后我将继续使用IO引脚。 让我们开始吧。 你可以遵循一个简单的“再次打开它”-Scheme。 为此,您需要以下成分:1.PinWrite()2.Repeat()3.waitms()必要的步骤包括:1.Turn on 2.swait 500 ms 3.turn off 4. 45毫秒 500 ms 5.重复代码看起来像你在图1中看到的那样。您可以从文章网页[1]下载。

著录项

  • 来源
    《ElektorLabs》 |2021年第julaaauga期|40-44|共5页
  • 作者

    Mathias Claussen;

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

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号