I am looking for a sketch

the sketch i am looking for will be for the arduino mega board
I want button in the 3.5Inch Touch screen
I need hints in the wiring too, but i should be able to work that out.
I want to make this WiFi controlable .

Hello, do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).

if you don’t want to learn, this seems a great ask for the Jobs and Paid Consultancy forum, make sure you mention your budget.

2 Likes

i am not looking for some one to do this for me , but a hint to be pointed int he right direction

I take usually example sketches and merge in one sketch for my needs.
But before this I check that example work properly with my Module/hardware.

Similar idea, but I "tab" them and let ArduinoIDE do the function prototypes and move all the main-tab crud off into a tab or two to cleanup loop() so it is easy to understand the program flow:

The above is a single sketch with NO library dependencies outside the sketch folder. The loop is nice and concise:


void loop(void) 
{
  gfxtest();

  for(uint8_t rotation=0; rotation<4; rotation++) {
    tft.setRotation(rotation);
    testText();
    delay(1000);
  }
}

Really easy to Zip up, libraries will not break from owner's updates, and no "blackboxes" off in /Arduino/libraries.

Anyone wanna play with complete encapsulation in a multitab project?

ESP32 + ILI9341 hardware SPI
ESP32_HSPI_ILI9341.zip (333.8 KB)

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.