my generic framework
Dependents: generic_framework_test
sources/Teste.cpp
- Committer:
- AndersonIctus (anderson.ictus@gmail.com)
- Date:
- 2019-05-01
- Revision:
- 1:c35046f358f6
- Parent:
- 0:1e6019bda876
File content as of revision 1:c35046f358f6:
#include "mbed.h" #include "Teste.h" DigitalOut myled(LED1); Teste::Teste(int blinks) { _numBlinks = blinks; } int Teste::sayHello() { return 123; } void Teste::rodaTeste() { int count = 0; while(count++ < _numBlinks) { myled = 1; wait(0.3); myled = 0; wait(0.3); } myled = 0; }