📜  esp rainmaker led - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:34.037000             🧑  作者: Mango

代码示例1
light_device = esp_rmaker_lightbulb_device_create("Light", NULL, true);
esp_rmaker_device_add_cb(light_device, write_cb, NULL);

esp_rmaker_device_add_param(light_device, esp_rmaker_brightness_param_create("brightness", 100));