Function fadecandy_driver::makeLookupTablePackets
Defined in File util.h
Function Documentation
-
std::vector<std::vector<unsigned char>> fadecandy_driver::makeLookupTablePackets(const std::vector<int> &red_lookup_values, const std::vector<int> &green_lookup_values, const std::vector<int> &blue_lookup_values)
makeLookupTablePackets Create USB packets for a simple color lookup table. The entire red lookup table comes first, then the entire green channel, then the entire red channel.