![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
COLOURS.hpp@57:aba1296e51b1, 2018-08-15 (annotated)
- Committer:
- thomasmorris
- Date:
- Wed Aug 15 21:34:59 2018 +0000
- Revision:
- 57:aba1296e51b1
- Parent:
- 56:bc5345bc6650
Final Version
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 | 57:aba1296e51b1 | 15 | char Value_convert (Colours value); |
thomasmorris | 56:bc5345bc6650 | 16 | void Store_Cubelet_data(); |
thomasmorris | 56:bc5345bc6650 | 17 | |
thomasmorris | 56:bc5345bc6650 | 18 | #endif |