1 Star 1 Fork 0

汤和果 / ext-8421Encoder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

8421旋钮编码开关

8421旋钮编码开关


目录

相关链接

描述

一款具有16档(0-F)的8421绝对位置编码器(立式、卧式均适用)。

积木列表

积木列表

使用第一个积木即可读取编码器的值,需事先定义引脚。返回结果为十进制:0-15。 如果要做编码器取值判断,可以使用第二个积木,也可自行根据下方表格进行换算。

编码器位置 十进制值
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
A 10
B 11
C 12
D 13
E 14
F 15

示例程序

micro:bit arduino 掌控板

许可证

MIT

支持列表

主板型号 实时模式 ArduinoC MicroPython 备注
arduino
arduinonano
firebeetleesp32
leonardo
maixduino
mega2560
micro:bit
mpython

更新日志

  • V0.0.1 基础功能完成
  • V0.0.2 修改代码逻辑
  • V0.0.3 新增编码器值积木
  • V0.0.4 支持micro:bit与掌控板MicroPython模式
  • V0.0.5 新增Maixduino支持
Copyright (c) DFRobot Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Mind+扩展:一款具有16档(0-F)的8421绝对位置编码器(立式、卧式均适用)。 展开 收起
C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/TomHGTang/ext-8421-encoder.git
git@gitee.com:TomHGTang/ext-8421-encoder.git
TomHGTang
ext-8421-encoder
ext-8421Encoder
master

搜索帮助