...
首页> 外文期刊>ElektorLabs >Simple Sketches Using the Qwiic Ecosystem
【24h】

Simple Sketches Using the Qwiic Ecosystem

机译:使用QWIIC生态系统简单的草图

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

摘要

For this example, you'll need the Qwiic Pro Micro, the Qwiic Twist RGB Rotary Encoder, and the Qwiic Mirco OLED Breakout. As you'll see in subsequent examples, the wiring hookup is essentially the same in each circuit. Simply use Qwiic cables to connect the Pro Micro to the rotary encoder and OLED display. The order that you put them in doesn't matter, as long as they're all connected together. Then, all you need to do is plug the Pro Micro into your computer, and upload the Qwiic Twist Mkro OLEDD is play.ino sketch. Make sure that you select "ATMEGA 32U4 (5V, 16MHz)" under the "processor" option, or else you will get an upload error! If all is successful, you should see the SparkFun Flame logo appearing on the OLED display briefly,then the display should show the name of the color that the rotary encoder is currently set to. When you turn the knob, the color of the knob should change, along with the name displayed on the OLED. Also, when you press the knob like a button, the screen should read, "Pressed!".
机译:对于此示例,您需要QWIIC Pro Micro,QWIIC Twist RGB旋转编码器和QWIIC Mirco OLED突破。如在后续示例中看到的,接线连接在每个电路中基本相同。只需使用QWIIC电缆将Pro Micro连接到旋转编码器和OLED显示屏。只要他们全部连接在一起,你就没有重要的顺序。然后,您需要做的就是将Pro Micro插入计算机,上传QWIIC Twist MKRO OLEDD是Play.ino草图。确保在“处理器”选项下选择“Atmega 32U4(5V,16MHz)”,否则您将获得上传错误!如果一切都成功,则应在简单地看到OLED显示屏上出现的SparkFun火焰徽标,然后显示屏应显示旋转编码器当前设置为的颜色的名称。转动旋钮时,旋钮的颜色应更改,以及OLED上显示的名称。此外,当您像按钮时按下旋钮时,屏幕应该读取,“按下!”。

著录项

  • 来源
    《ElektorLabs》 |2021年第julaaauga期|66-69|共4页
  • 作者

    Marcus Stevenson;

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

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号