// STL includes #include // Boblight includes #include int main() { std::cout << "Initialisaing Boblight" << std::endl; void* blPng = boblight_init(); int width = 112; int height = 64; std::cout << "Defining scan range (" << width << "x" << height << ")" << std::endl; boblight_setscanrange(blPng, width, height); int colorPtr[3]; colorPtr[0] = 255; colorPtr[1] = 0; colorPtr[2] = 0; std::cout << "Using color [" << colorPtr[0] << "; " << colorPtr[1] << "; " << colorPtr[2] << "]" << std::endl; int nrOfFrames = 150; std::cout << "Generating " << nrOfFrames << " frames" << std::endl; for (int iFrame=0; iFrame