Go to the documentation of this file.
17 #include "blink1-lib.h"
20 typedef struct hid_device_ {} hid_device_;
37 extern std::vector<blink1_device*> blink1_devices;
38 extern std::map<long, blink1_lib::RGB> ledColors;
39 extern std::map<long, uint16_t> ledFadeMillis;
40 extern std::map<long, blink1_lib::PatternLineN> patternLines;
41 extern int cacheIndex;
42 extern std::string serial;
44 extern uint8_t patternLineLEDN;
46 extern int blink1Version;
47 extern bool successfulOperation;
48 extern bool successfulInit;
49 extern bool degammaEnabled;
122 bool SUCCESS(blink1_device* dev);
void SET_IS_MK2(bool mk2)
void SET_FADE_MILLIS(uint16_t fadeMillis, long n)
void SET_PLAY_STATE(blink1_lib::PlayState state)
blink1_lib::RGB GET_RGB(long n)
Header for blink1_lib::PlayState.
void SET_BLINK1_VID(int _vid)
Definition: PatternLineN.hpp:17
void SET_BLINK1_PID(int _pid)
blink1_lib::PlayState GET_PLAY_STATE()
void SET_SERIAL(std::string serial)
bool SUCCESS(blink1_device *dev)
uint16_t GET_FADE_MILLIS(long n)
void SET_BLINK1_VERSION(int version)
void SET_BLINK1_SUCCESSFUL_OPERATION(bool op)
Header file for blink1_lib::PatternLineN.
void SET_RGB(blink1_lib::RGB rgb, long n)
Testing library namespace.
Definition: Blink1TestingLibrary.hpp:35
void SET_BLINK1_SUCCESSFUL_INIT(bool init)
Definition: PlayState.hpp:16
Header file for blink1_lib::RGB.
blink1_lib::PatternLineN GET_PATTERN_LINE(long pos)
void SET_CACHE_INDEX(int index)
void SET_PATTERN_LINE(blink1_lib::PatternLineN line, long pos)