Home > Article > Backend Development > Can golang write microcontroller?
go can write microcontrollers. The entire development structure of microcontrollers is divided into three major steps:
The first step is to install the compilation tool program (compiler) on the development computer ), this is generally provided by microcontroller manufacturers, and there are also third-party compilers. There is a compiler called tinygo that can compile the Go language. You can search the official website on Baidu.
The second step is to write the microcontroller program on the compilation tool program, mostly written in assembly and C language. tinygo supports go language, so it can be written in go language. Then compile the written program.
The second step is to install the burning tool program, connect the microcontroller, select the compiled file, burn it into the microcontroller, and then reset the microcontroller to run the program.
The above is the detailed content of Can golang write microcontroller?. For more information, please follow other related articles on the PHP Chinese website!