Where do I write my code?

Where to start coding?

Where do I write my code?

Since some of you may not have installed an IDE (Integrated Development Environment) on your computer yet, you may use an online version to write your code. Repl.it C Language is a good choice.

VSCode is also a very good code editor with various extensions to increase its functionality. However, it is difficult to set up VSCode for STM32 programming, hence we will not teach that here. It is not necessary to install VSCode for the sake of our tutorials.

For robotics programming, we will teach you to install CubeIDE, which is where you will spend the majority of your time during our tutorials. Refer to our guide here.

Instructions for Repl.it C Language

  1. Simply go to Repl.it C Language.

  2. In the middle section, you will see a sample code already in place, under the file name main.c. You can also see all the files on the left column associated with this setup. Do not worry about other files right now, editing main.c in the middle column is sufficient for now.

  3. After you have completed some code, click "Run" to compile and run the program. The program is then run in the console on the right, where you can do inputs and it can display outputs. If there are any errors in the code, the program will fail to run and display its error message in the console as well. Follow its prompt or maybe search online to find out how to fix the problem.

  4. Click "Save", you will see your URL change to https://repl.it/repls/SomeRandomWords, you can access your code with this URL later.

Last updated