Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
cook.h
00001 #ifndef COOK_H 00002 #define COOK_H 00003 00004 #include "mbed.h" 00005 #include "fruits.h" 00006 00007 class cook{ 00008 00009 private: 00010 00011 uint32_t howWellCooks; 00012 /* 00013 * A scale to know how well does the cook cooks 00014 * 0 -> Doesnt cook at all 00015 * ... 00016 * 3 -> Cooks edible food 00017 * ... 00018 * 5 -> Me 00019 * ... 00020 * 10-> Master Chef 00021 */ 00022 00023 00024 public: 00025 00026 uint32_t getHowWellCooks(void); 00027 /* 00028 * Returns howWellCooks 00029 */ 00030 void setHowWellCooks(uint32_t); 00031 /* 00032 * To improved or worst the cooker skill 00033 */ 00034 void makeBanana(Serial* ,fruits* fruit[]); 00035 /* 00036 * A test to see if I can pass the banana array to a function 00037 */ 00038 00039 }; 00040 00041 00042 #endif
Generated on Tue Jul 19 2022 20:24:14 by
1.7.2