0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
U025

U025

  • 厂商:

    M5STACK

  • 封装:

  • 描述:

    按钮 人机接口 M5Stack 平台评估扩展板

  • 数据手册
  • 价格&库存
U025 数据手册
Mini Dual Button Unit SKU: U025 Dual Button, as its namesake, has two buttons with different color. If the Button unit is not enough, how about double it up to a pair. They share the exact same mechanism, button status can be detected by the input pin status,simply capture the high/low electrical level. This unit communicates with M5Core through GROVE B port. Product Features • • Program Platform: Arduino, UIFlow(Blockly,Python) Two Lego-compatible holes Kit includes • • 1x Dual BUTTON Unit 1x Grove Cable Application • • Game Controller Remote control switch Example 1. Arduino IDE The code below is incomplete(just for usage). TO get the complete code, please click here. #include // declaration int cur_value_red = 0; int cur_value_blue = 0; // initialization M5.begin(); pinMode(26, INPUT);// Red Button Pin setting pinMode(36, INPUT);// Blue Button Pin setting // read data cur_value_red = digitalRead(26); cur_value_blue = digitalRead(36); M5.update(); 2. UIFlow To get the complete code, please click here. Schematic PinMap M5Core (GROVE B) GPIO36 GPIO26 5V GND DUAL_BUTTON Unit Blue Button Pin Red Button Pin 5V GND https://m5stack.com/collections/m5-unit/products/mini-dual-button-unit/12-99-19

很抱歉,暂时无法提供与“U025”相匹配的价格&库存,您可以联系我们找货

免费人工找货
U025
    •  国内价格
    • 1+22.84796
    • 5+21.81699
    • 10+20.83809
    • 100+20.76520

    库存:27