I have an arduino mega with the wifi built in. The mega also connects to a 4D systems LCD screen.
At the moment I do not use any of the wifi functionality.
From the LCD screen I can control the programe within the arduino as per the code I have written.
This works perfectly.
Now I want to control the Arduino programe from a smartphone (IOT).
The LCD screen has control commands it sends to the Arduino to perform tasks and also reads data from the Arduino for feedback to the user.
Now I want the smartphone to replicate or at least code in parallel to the existing LCD control commands and feedback to/from the smartphone.
For example. The LCD will have a START button command that is sent to the Arduino, the Arduino performs something and provides feedback. With the smartphone how do I activate the same START command within the Arduiono code? Or, do i program a separate START command from the smartphone that is programmed in parallel to the LCD START command in the Arduino code.