How can I code the text as number in this code

Hello, I am making an application as a project, which relies on haptics. Therefore i need to turn 9 servo motors with commands. I designed a 9 button schematic which is connected with a bluetooth client to send the codes, however because the codes being text and the servo motors only gain command as number, the servo motors are not turning. How can I solve this problem?
Design and code are like this:



[I am new to this site so if i have any mistakes uploding these: Apologies in advance]

Also upload the sketch code so we can compare the data types for consistency.

There is a problem with trying to send two digit numbers as text, and reading the incoming text one character at a time.

Instead of text, take advantage of you low valued int coding scheme for your data traffic and switch to sending commands as single byte values (0-255), and receiving them from Serial.read() into an int variable, as in this sample:

Change your AI2 Bluetooth transmission blocks to


(change the 12 to whatever. )

With the rework I still couldn't make the servo motors turn with the code, it is most likely either a problem with the arduino code or with my system itself. Thanks for the help