Welcome.First of all, I would like to thank you for your replies regarding the last topic.
Today I picked up an ESP32 to work on it. I downloaded Bluefruit for iPhone, but I don't know if it was a good choice. Has anyone worked with this module before? What would be the best app to use, as I can rather dream of making my own app and don't have the time to learn it. I am keen to design 10 buttons, each of which will control 6 or 7 servos, rotating them by a specific and different angle from each other. I will be writing the program in the Arduino IDE. I have previously written code like this for physical buttons, located on the same contact board, and it worked as expected, but I have gone to Bluetooth, which offsets a lot of the problems, but this is new to me. My code looked like this:
#include
Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
Servo servo5;
const int buttonPin1 = 2;
const int buttonPin2 = 3;
const int buttonPin3 = 4;
const int buttonPin4 = 5;
const int buttonPin5 = 6;
const int buttonPin6 = 7;
void setup()
{
servo servo1.attach(9);
servo2.attach(10);
servo3.attach(11);
servo4.attach(12);
servo5.attach(13);
pinMode(buttonPin1, INPUT_PULLUP);
pinMode(buttonPin2, INPUT_PULLUP);
pinMode(buttonPin3, INPUT_PULLUP);
pinMode(buttonPin4, INPUT_PULLUP);
pinMode(buttonPin5, INPUT_PULLUP);
pinMode(buttonPin6, INPUT_PULLUP);
}
void loop()
{
if (digitalRead(buttonPin1) == LOW)
{
servo1.write(180);
servo2.write(90);
servo3.write(90);
servo4.write(0);
servo5.write(0);
delay(300);
servo1.write(90);
servo2.write(0);
servo3.write(0);
servo4.write(90);
servo5.write(0);
}
...etc.
}
If anyone could advise on how to write code on the ESP32 where, on buttons on the phone, the servos rotate by the indicated angle and then return to the start position, that would be great.
P.S. For replies along the lines of "get some training and write something yourself", I thank you in advance. If I wanted to do that, I wouldn't have inserted this post, and nobody needs to contribute here if it's any trouble. Besides, communication here is also a form of learning

Greetings and hope for support.