voltando a versao de n aberturas e fechamentos de sockets data 19/09
Dependencies: EthernetInterface NTPClient mbed-rtos mbed EALib
Fork of header_main_publish by
timeslice.h
- Committer:
- klauss
- Date:
- 2014-09-20
- Revision:
- 19:ab2088e0dec6
- Parent:
- 0:4d17cd9c8f9d
File content as of revision 19:ab2088e0dec6:
#include <stdint.h> #define __MAX_TIMESLICES__ 4 class Timeslice{ private : uint8_t timeslice[ __MAX_TIMESLICES__ ]; public : Timeslice(); ~Timeslice(); uint8_t get_timeslice(); void return_timeslice( uint8_t i ); void reset(); uint8_t remain_timeslices( void ); };