finished p2-2
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
compost_pile_private.h@2:7abebe259d59, 2021-04-26 (annotated)
- Committer:
- levelsnake3
- Date:
- Mon Apr 26 00:30:47 2021 +0000
- Revision:
- 2:7abebe259d59
- Parent:
- 0:95264f964374
finalAdv;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DCchico |
0:95264f964374 | 1 | //================================================================= |
DCchico |
0:95264f964374 | 2 | // The header file is for module "compost pile" |
DCchico |
0:95264f964374 | 3 | // |
DCchico |
0:95264f964374 | 4 | // Copyright 2020 Georgia Tech. All rights reserved. |
DCchico |
0:95264f964374 | 5 | // The materials provided by the instructor in this course are for |
DCchico |
0:95264f964374 | 6 | // the use of the students currently enrolled in the course. |
DCchico |
0:95264f964374 | 7 | // Copyrighted course materials may not be further disseminated. |
DCchico |
0:95264f964374 | 8 | // This file must not be made publicly available anywhere. |
DCchico |
0:95264f964374 | 9 | //================================================================= |
DCchico |
0:95264f964374 | 10 | #ifndef COMPOST_PILE_PRIVATE_H |
DCchico |
0:95264f964374 | 11 | #define COMPOST_PILE_PRIVATE_H |
DCchico |
0:95264f964374 | 12 | |
DCchico |
0:95264f964374 | 13 | #include "mbed.h" |
DCchico |
0:95264f964374 | 14 | #include "globals.h" |
DCchico |
0:95264f964374 | 15 | #include "compost_pile_public.h" |
DCchico |
0:95264f964374 | 16 | |
DCchico |
0:95264f964374 | 17 | //==== [private type] ==== |
DCchico |
0:95264f964374 | 18 | // N/A |
DCchico |
0:95264f964374 | 19 | |
DCchico |
0:95264f964374 | 20 | |
DCchico |
0:95264f964374 | 21 | //==== [private function] ==== |
DCchico |
0:95264f964374 | 22 | // N/A |
DCchico |
0:95264f964374 | 23 | |
DCchico |
0:95264f964374 | 24 | |
DCchico |
0:95264f964374 | 25 | //==== [private macros] ==== |
DCchico |
0:95264f964374 | 26 | |
DCchico |
0:95264f964374 | 27 | |
DCchico |
0:95264f964374 | 28 | //==== [private settings] ==== |
DCchico |
0:95264f964374 | 29 | // You could modify these settings, but try to keep them be used only inside compost_pile.cpp |
DCchico |
0:95264f964374 | 30 | // Here are the settings to define the looking of your compost pile |
DCchico |
0:95264f964374 | 31 | #define COMPOST_TO_SCREEN_MARGIN 25 // pixel on the screen |
DCchico |
0:95264f964374 | 32 | #define COMPOST_WIDTH 121 // pixel on the screen |
DCchico |
0:95264f964374 | 33 | #define PILE_WIDTH 11 // pixel on the screen |
DCchico |
0:95264f964374 | 34 | #define NUM_PILE (COMPOST_WIDTH/PILE_WIDTH) |
DCchico |
0:95264f964374 | 35 | #define PILE_COLOR 0x00FF00 |
DCchico |
0:95264f964374 | 36 | |
DCchico |
0:95264f964374 | 37 | #endif //COMPOST_PILE_PRIVATE_H |