![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Versao com problema no socket rx
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Diff: timeslice.h
- Revision:
- 0:4d17cd9c8f9d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/timeslice.h Tue Sep 09 20:01:24 2014 +0000 @@ -0,0 +1,15 @@ +#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 ); +}; \ No newline at end of file