EasyManua.ls Logo

Freenove Ultimate Starter Kit - Code Editor

Freenove Ultimate Starter Kit
286 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
39
Chapter 0 Preparation
www.freenove.com
support@freenove.com
Code Editor
vi, nano, Geany
Here we will introduce three kinds of code editor: vi, nano and Geany. Among them, nano and vi are used to
edit files directly in the terminal. And Geany is an independent editing software, which is recommended for
begainer. We will use the three editors to open an example code "Hello.c" respectively. First we will show how
use vi and nano editor:
First, use cd command to enter the sample code folder.
cd ~
cd ~/Freenove_Ultimate_Starter_Kit_for_Raspberry_Pi/Code/C_Code/00.0.0_Hello
Use the vi editor to open the file "Hello.c", then press ": q" and “Enter” to exit.
vi Hello.c
As is shown below:
Use the nano editor to open the file "Hello.c", then press " Ctrl+X " to exit.
nano Hello.c

Table of Contents