(Bad English alert!)
I have a question:
I made a robot. My robot has 4 stepper motors. I wanna connect all stepper motors to one place. I wrote my own code in arduino and I put cnc shield on it. (Cnc shield is a board with 4 stepper driver slot.)
It worked and I connected all my steppers, buttons, potantiometers and sensors in one place.
But!...
Arduino is not enough for my robot.
I want to buy a 32 bit control board. (Like 3d printer board etc.)
And I want to write my own code in 3d printer board.
Is it possible? Can I wrote custom codes to 3d printer board?
I searched "mks tinybee board pinout"
Pin names are different from arduino.
Can I connect a sensor to IO33? How can i define this pin? #define sensorPin IO33
Or?
A quick Google search show the MKS TinyBee is based on the ESP32 which can be programmed withe the Arduino IDE.
This video shows how to configure Marlin (3D Printer) Firmware to run on the MKS TinyBee. In the configuration will be what pin go to what features of the TinyBee.
Thank you. I found the pins in codes
marlin/ESP32/MKS_TINYBEE. I learned how to define pins.
Example: #define sensorPin 33 (IO33 pin)
But I have one last question:
Arduino has analog and digital pins.
Example: A1, A2 and D1, D2 etc. I can figure out which is digital and which is analog because of pin names.
But pin names of this printer boards are IO1, IO2 etc. Which is analog which is digital how can I figure out? I am kind of new at coding. If I want to connect potantiometer can I connect to any pin? In arduino I connecting to Analog pins (A1, A2 etc.)