Simple sugar dozer emulator in coffee machines.
Dependencies: mbed
LEDCount.h
- Committer:
- tbjazic
- Date:
- 2015-01-29
- Revision:
- 0:23fb6d1ad75c
File content as of revision 0:23fb6d1ad75c:
#ifndef LED_COUNT_H #define LED_COUNT_H #include "mbed.h" class LEDCount { public: LEDCount(PinName led1, PinName led2, PinName led3, PinName led4); void display(int count); private: BusOut led; int count; }; #endif // LED_COUNT_H