Versao com problema no socket rx
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
timeslice.h
- Committer:
- klauss
- Date:
- 2014-09-10
- Revision:
- 1:a1758104fa1d
- Parent:
- 0:4d17cd9c8f9d
File content as of revision 1:a1758104fa1d:
#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 ); };