![](/media/cache/profiles/c3d4543d921d3fc90cabc2c864c68276.jpg.50x50_q85.jpg)
Conceito de Classe (Private Public),
Car.h
- Committer:
- Jamess
- Date:
- 2015-08-04
- Revision:
- 2:f8dd6b50073a
File content as of revision 2:f8dd6b50073a:
#ifndef CAR_MACRO_H #define CAR_MACRO_H #include "mbed.h" class Car{ private: uint32_t speed; public: uint32_t getSpeed(void); void setSpeed(uint32_t); void turnRight(void); void turnLeft(void); void goStraight(void); }; #endif