Thiago .
/
exercicios
exercises
Diff: cook.cpp
- Revision:
- 0:ff7b10a0e08f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cook.cpp Fri Aug 28 18:45:26 2015 +0000 @@ -0,0 +1,23 @@ +#include "cook.h" + +uint32_t cook::getHowWellCooks(void){ + + return howWellCooks; + + } + +void cook::setHowWellCooks(uint32_t newSkill){ + + howWellCooks = newSkill; + + } + +void cook::makeBanana(Serial* serialPort, fruits* something[]){ + + for(uint32_t i = 0;i<10;i++){ + + serialPort->printf("the number of bananas %d",something[i]->getWeight()); + wait(0.1); + + } + } \ No newline at end of file