Hey,
I’m using Arduino IDE and I can’t find which pin number should I use for read (digitalRead(pinNumber)) input from inner button.
mBot button pin number
For the button built into the mCore (the mBot board), I believe it is analog A7. This is from going to Arduino mode and setting up a button press program like this: