Closed vatsake closed 2 years ago
Instead of monitoring an input, can I monitor a variable?
int maxPrice = 220; int prices[24] = { 200, 210, 230, ....}; priceController.begin() .IF(maxPrice, '<', prices[hour(now())]) .led(LED_BUILTIN);
Control a LED based on this condition.
Instead of monitoring an input, can I monitor a variable?
Control a LED based on this condition.