Skip to content

通过软件定时器实现面向任务的Arduino编程(注:消抖任务推荐使用 PciManager 库配合)

Notifications You must be signed in to change notification settings

microplc/arduino-softtimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

SoftTimer enable a higher level Arduino programing, jet easy to use, and lightweight. You often face with the problem that you need to do multiply tasks in the same time. In SoftTimer manner programmer creates Tasks that runs periodically.

When you use SoftTimer you do not implement the "loop" function of the Arduino. All your code will run event driven, all processes running asynchronous, no more blocking code (like delay()) is needed.

I also try to add some usefully tools to use SoftTimer out of the box (like blinker, pwm, debouncer, etc.)

Debouncer class requires the PciManager library.

As this page was moved from google-code repository, the documentation can be found here:

About

通过软件定时器实现面向任务的Arduino编程(注:消抖任务推荐使用 PciManager 库配合)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%