This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

8. Hello World

8.1. Overview

hello_world example project shows the simple functions of serial port output and lighting. In this project, the serial port outputs “hello world”; Manually input the string information through the keyboard and print it through the serial port.

8.2. Board Setting

No special settings

8.3. Running the example

When the project runs correctly, and the serial port terminal will output the following information:

hello world If you manually input “hello hpmicro” through the keyboard at this time, the serial port terminal will output the following information: hello hpmicro