Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Ribeiro Santos
#58591 Try add the "yield()" function in your code, use and abuse it in every loop.


Code: Select all  for(int k=0;k<64;k++){  //64
    yield();
    for (uint16_t x=1; x < tftheight(); x+=6) {

    yield();
      uint16_t c1 = random(0x00FF,0xFFF0); //0xFFF0



Code: Select allvoid loop(){

  testdrawrects();
  yield();
  randomCircles(false);
  yield();
  testtriangles(true);
  yield();
  testtriangles(false);
  yield();
  randomRect(false);
  yield();
  randomRect(true);
  yield();
  randomCircles(true);
  yield();
  randomLines();
  yield();
 // randomPoints();
}