1.1 --- a/c++/rgb-assembler/rgb-assembler.cpp Sat Dec 23 17:52:32 2017 +0100
1.2 +++ b/c++/rgb-assembler/rgb-assembler.cpp Sat Dec 23 20:13:24 2017 +0100
1.3 @@ -7,15 +7,10 @@
1.4 #include <chrono>
1.5 #include <thread>
1.6
1.7 +#include "types.h"
1.8 +
1.9 using namespace std;
1.10
1.11 -typedef uint16_t address_t;
1.12 -typedef uint8_t octet_t;
1.13 -typedef uint8_t command_t;
1.14 -typedef uint8_t sleep_t;
1.15 -typedef uint8_t color_t;
1.16 -typedef uint8_t led_t;
1.17 -
1.18 // TODO: strong typedefs http://www.boost.org/doc/libs/1_61_0/libs/serialization/doc/strong_typedef.html ?
1.19
1.20 const address_t MEMORY_SIZE = 1024;