#define SUB_TOPICS_SIZE 4
char* subTopic[SUB_TOPICS_SIZE] = {
"ESP32-D0WDQ6-V3/17596493859364/PROV_SONOFF_DUALR3/switch_state_ch1",
"ESP32-D0WDQ6-V3/17596493859364/PROV_SONOFF_DUALR3/switch_state_ch2",
"ESP32-D0WDQ6-V3/17596493859364/PROV_SONOFF_DUALR3/switch_state_ch3",
"ESP32-D0WDQ6-V3/17596493859364/PROV_SONOFF_DUALR3/switch_state_ch4"
};
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
for(byte i = 0; i < SUB_TOPICS_SIZE; i++){
Serial.println(subTopic[i]);
}
char t[] = "teste 123";
Serial.println(t);
}
void loop() {
// put your main code here, to run repeatedly:
}