Giter Site home page Giter Site logo

addad's Introduction

Emakefun micorbit ph2.0 sensorbit extensions

Sensor:bit模块示例

  • seneor:bit 模块有功能模块,输入模块和判断模块这几种类型,其中,功能模块为主体,积木的执行必须依赖于功能模块,输入模块可以得到数字或者字符串,用于进行数据获取或输出,判断模块返回布尔值,用来进行判断,来决定之后模块是否执行。
  • 功能块示例 gn.png
  • 输入块示例 sr.png
  • 判断块示例 pd.png

执行器

  • zxq.png
  • 触摸键盘调试
    • 设置初始化引脚SCL,SDO,实现microbit读取显示键盘值的功能
  • zxqcm.png

显示器

  • xsq.png
  • xsq1.png
  • OLED模块调试
    • OLED显示器默认连接I2C引脚(即p19,p20),下面代码实现的效果是OLED显示的是变量ts代表的数字 OLEDS.png

基础输入模块

  • jcsr.png
  • jcsr1.png
  • 钢琴模块调试
    • 设置钢琴初始化引脚DIO,CLK,选择连接对应在sensor:bit上的DIO和CLK接口。
  • gq.png

传感器

  • cgq.png
  • cgq1.png
  • cgq2.png
  • 震动传感器调试
    • 震动传感器为4pin传感器,其A连接的pin口用于检测是否检测到震动,D口连接的pin口用于读取模拟值。
  • zdcgq.png

micro:bit(v2)

  • mb2.png

addad's People

Contributors

dadelen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.