Interfaçage NeoPixel Ring 12, LPRO MECSE, Arnaud A.
Diff: view2.cpp
- Revision:
- 2:a885824aefe0
- Parent:
- 1:2a58d8fcf7f9
--- a/view2.cpp Mon Jun 22 21:55:40 2020 +0000 +++ b/view2.cpp Tue Jun 30 23:32:27 2020 +0000 @@ -89,6 +89,21 @@ } } +void View2::updateAnim1(Button* button){ + if(button == anim1){ + anim1Bool=true; + } +} + +bool View2::getAnim1(){ + return anim1Bool; +} + + +void View2::setAnim1(bool viewChanged){ + anim1Bool = this->anim1Bool; +} + bool View2::getViewChanged(){ return viewChanged; }