MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / setLEDIndication

Method setLEDIndication

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:192–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 return state.getValue().at("config").at("ledindication").get<bool>();
191}
192void Sensor::setLEDIndication(bool on)
193{
194 sendPutRequest("/config", nlohmann::json {{"ledindication", on}}, CURRENT_FILE_INFO);
195}
196
197nlohmann::json Sensor::getState() const
198{

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64