Thiago .
/
exercicios
exercises
Diff: fruits.h
- Revision:
- 0:ff7b10a0e08f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fruits.h Fri Aug 28 18:45:26 2015 +0000 @@ -0,0 +1,32 @@ +#ifndef FRUITS_H +#define FRUITS_H + +#include "mbed.h" + +class fruits{ + + private: + + uint32_t weight; + /* + */ + + public: + + + fruits(); + /** + * Default Constructor + */ + + uint32_t getWeight(void); + /** + * Returns the weight of the fruit + */ + void setWeight(uint32_t); + /** + * Sets the weight of the fruit + */ + }; + +#endif \ No newline at end of file