c++/rgb-assembler/types.h
author František Kučera <franta-hg@frantovo.cz>
Sun, 24 Dec 2017 00:17:12 +0100
changeset 28 2b2f8a17d63a
parent 19 17785b69430d
child 29 10d6964e7b4a
permissions -rw-r--r--
move standard commands (codes) to a header file
     1 #pragma once
     2 
     3 #include <cstdint>
     4 
     5 typedef uint16_t address_t;
     6 typedef uint8_t octet_t;
     7 typedef uint8_t command_t;
     8 typedef uint8_t sleep_t;
     9 typedef uint8_t color_t;
    10 typedef uint8_t led_t;
    11 
    12 // TODO: strong typedefs http://www.boost.org/doc/libs/1_61_0/libs/serialization/doc/strong_typedef.html ?