Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
0:4d17cd9c8f9d
Child:
69:65665afbad5d
--- /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