Coder Social home page Coder Social logo

inven88 / flexiblebutton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhaojuntao/flexiblebutton

0.0 0.0 0.0 14 KB

GitHub 账户名更改,本用户名下的所有仓库转移到 https://github.com/murphyzhao

License: Apache License 2.0

Python 1.07% C 98.93%

flexiblebutton's Introduction

FlexibleButton

FlexibleButton 是一个基于 C 语言的小巧灵活的按键处理库。该按键库解耦了具体的按键硬件结构,理论上支持轻触按键与自锁按键,并可以无限扩展按键数量。另外,FlexibleButton 使用扫描的方式一次性读取所有所有的按键状态,然后通过事件回调机制上报按键事件。

获取方式

git clone https://github.com/zhaojuntao/FlexibleButton.git

使用方法

请参考 ./flexible_button_demo.c。该例程基于 RT-Thread IoT Board v2.2 开发板测试.

TODO

  • 支持自锁按键
  • 优化低功耗使用场景
  • 增加使用说明

问题和建议

如果有什么问题或者建议欢迎在这个 Issue 上讨论。

贡献者

flexiblebutton's People

Contributors

murphyzhao 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.