PsiSwarm Library  0.8
animations.h
1 /* University of York Robotics Laboratory PsiSwarm Library: Animations Header File
2  *
3  * Copyright 2016 University of York
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS
8  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9  * See the License for the specific language governing permissions and limitations under the License.
10  *
11  * Library of simple predetermined movements
12  *
13  * File: animations.h
14  * [Was dances.h in version 0.7]
15  *
16  * (C) Dept. Electronics & Computer Science, University of York
17  * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis
18  *
19  * PsiSwarm Library Version: 0.8
20  *
21  * October 2016
22  *
23  *
24  */
25 
26 #ifndef ANIMATIONS_H
27 #define ANIMATIONS_H
28 
32 class Animations{
33  public:
37  void vibrate(void);
38 
42  void led_run1(void);
43 
48  void set_colour(char colour);
49 
50  private:
51  char hold_colour;
52  char animation_counter;
53  Timeout animation_timeout;
54 };
55 
56 #endif
void led_run1(void)
Definition: animations.cpp:36
void set_colour(char colour)
Definition: animations.cpp:31
void vibrate(void)
Definition: animations.cpp:72