Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
COLOURS.hpp@56:bc5345bc6650, 2018-07-16 (annotated)
- Committer:
- thomasmorris
- Date:
- Mon Jul 16 10:51:47 2018 +0000
- Revision:
- 56:bc5345bc6650
- Child:
- 57:aba1296e51b1
Moves added to serial;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 56:bc5345bc6650 | 1 | /* |
thomasmorris | 56:bc5345bc6650 | 2 | This is the functions for identifying the colours is |
thomasmorris | 56:bc5345bc6650 | 3 | */ |
thomasmorris | 56:bc5345bc6650 | 4 | |
thomasmorris | 56:bc5345bc6650 | 5 | #ifndef COLOURS_HPP//Header Guards Prevents Multiple includes |
thomasmorris | 56:bc5345bc6650 | 6 | #define COLOURS_HPP |
thomasmorris | 56:bc5345bc6650 | 7 | //Libraries and header includes |
thomasmorris | 56:bc5345bc6650 | 8 | #include "mbed.h" |
thomasmorris | 56:bc5345bc6650 | 9 | #include "ALGORITHM.hpp" |
thomasmorris | 56:bc5345bc6650 | 10 | |
thomasmorris | 56:bc5345bc6650 | 11 | |
thomasmorris | 56:bc5345bc6650 | 12 | enum Colours; |
thomasmorris | 56:bc5345bc6650 | 13 | static int colour_data = 0; |
thomasmorris | 56:bc5345bc6650 | 14 | Colours convert (int Colour); |
thomasmorris | 56:bc5345bc6650 | 15 | void Store_Cubelet_data(); |
thomasmorris | 56:bc5345bc6650 | 16 | |
thomasmorris | 56:bc5345bc6650 | 17 | #endif |