【文件属性】:
文件名称:Tween:补间库的Arduino
文件大小:81KB
文件格式:ZIP
更新时间:2021-04-06 11:38:38
C++
补间
补间库的Arduino
用法
# include < Tween>
Tween::Timeline timeline;
float target = 0 .f;
void setup ()
{
timeline. add (target) // target tweens
. then ( 10 , 5000 ) // to 10 in 5000[ms]
. then ( 5 , 5000 ) // then to 5 in 5000[ms]
. wait ( 1000 ) // then stops 1000[ms]
. then ( 0 , 5000 ); // then to 0 in 5000[ms]
timeline. start ();
}
void loop ()
{
【文件预览】:
Tween-master
----library.json(440B)
----Tween()
--------util()
--------Types.h(1KB)
--------Sequence.h(3KB)
--------Timeline.h(2KB)
--------Transition.h(2KB)
----LICENSE(1KB)
----library.properties(218B)
----examples()
--------fastled()
--------custom_class()
--------simple()
----README.md(2KB)
----Tween.h(131B)