Code: Select all
GPIO.out_w1ts = (1 << GPIO_NUM_x);
GPIO.out_w1tc = (1 << GPIO_NUM_x);
Code: Select all
GPIO.out_w1ts = (1 << GPIO_NUM_x);
GPIO.out_w1tc = (1 << GPIO_NUM_x);
Code: Select all
int cmd = (filename.indexOf("spiffs") > 0) ? U_SPIFFS : U_FLASH;
Code: Select all
int cmd = (filename.indexOf("spiffs") > -1) ? U_SPIFFS : U_FLASH;