PsiSwarm Library  0.8
colour.h
1 /* University of York Robotics Laboratory PsiSwarm Library: Colour Sensors 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  * File: colour.h
12  *
13  * (C) Dept. Electronics & Computer Science, University of York
14  * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis
15  *
16  * PsiSwarm Library Version: 0.8
17  *
18  * October 2016
19  *
20  *
21  */
22 
23 
24 #ifndef COLOUR_H
25 #define COLOUR_H
26 
30 class Colour
31 {
32 public:
37  void set_base_colour_sensor_gain(char gain);
38 
43  void set_base_colour_sensor_integration_time(char int_time);
44 
47  void enable_base_colour_sensor(void);
48 
53  void read_base_colour_sensor_values(int * store_array);
54  char IF_check_base_colour_sensor(void);
55 
56 };
57 #endif
Definition: colour.h:30
void read_base_colour_sensor_values(int *store_array)
Definition: colour.cpp:28
void set_base_colour_sensor_integration_time(char int_time)
Definition: colour.cpp:36
void enable_base_colour_sensor(void)
Definition: colour.cpp:40
void set_base_colour_sensor_gain(char gain)
Definition: colour.cpp:32