Add/modify application code
After creating the application, open it in your desired IDE or command line. For more details about each option, refer to the following user guides:
Eclipse user guide
VS Code user guide
IAR user guide
µVision user guide
ModusToolbox ™ tools package user guide
(for details on command line)
Code example applications work as they are, and there is no need to add or modify code in order to build or program them. However, if you want to update and change the application to do something else, open the appropriate file in your preferred code editor.
For VS Code as an example, double-click the
main.c
file to open it.

Note:
As you type into the file, changes will be shown. The file icon will also indicate that there are unsaved changes.