Skip to content

Commit

Permalink
Update ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
blanboom committed May 19, 2015
1 parent d307be6 commit 5785332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReadMe.md
@@ -1,6 +1,6 @@
This is a task scheduler for Arduinos with a ATmega328p microcontroller. Inspired by *[Patterns for Time-Triggered Embedded Systems](http://books.google.com/books?vid=ISBN0201331381&redir_esc=y&hl=zh-CN&sourceid=cndr)*.

NOTE: This library uses Timer 1 on ATmega328p, so it is incompatible some libraries using the same timer. (Such as [Servo](http://www.arduino.cc/en/Reference/Servo), [Mozzi](http://sensorium.github.io/Mozzi/), or `analogWrite` on pin 9 and 10)
NOTE: This library uses Timer 1 on ATmega328p, so it is incompatible some libraries using the same timer. (Such as [Servo](http://www.arduino.cc/en/Reference/Servo), [Mozzi](http://sensorium.github.io/Mozzi/), or `analogWrite()` on pin 9 and 10)

## How to use?

Expand Down

4 comments on commit 5785332

@yuwenyangfeng
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果能在loop()里面随时关闭所有schdeule task就好了。
其中你提到Sch.DeleteTask(任务ID) 删除任务没太看懂,将addtask任务ID的数据形式是int还是char?

@blanboom
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

任务 ID 为 uint8_t 类型。

@9zhou
Copy link

@9zhou 9zhou commented on 5785332 Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以设置任务的启动时间吗?比如说按一个按钮1s后启动led闪烁的任务,

@blanboom
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@9zhou 一种方法是按按钮之后添加任务,参考 http://blanboom.org/arduino-task-scheduler-library.html

Please sign in to comment.