I use the delay(1) and improved but stills flicker e tried delay(5) and stills...I think it flickers because the pin like ESP8622 it maybe only works fine on especific port...but ESP dev kits has many varients and I cannot find mine because I want to use RX pin like ESP8622