Getting started with Arduino


Follow this guide to build the Arduino examples.

There are official step-by-step guides for the supported platforms which are maintained by community members.

Install ODROID-GO libraries

Using the Arduino IDE Library Manager

Not working yet
We're going to release the ODROID-GO libraries soon.

https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ#how-can-i-add-my-library-to-library-manager

- Run the ESP32 Arduino IDE
- Choose Sketch → Include Library → Manage Libraries…
- Search ODROID-GO and install the library.
- Reload the Arduino IDE

Windows

Execute a Git Bash program from the Start Menu and enter the following commands.

git clone https://github.com/hardkernel/ODROID-GO.git $USERPROFILE/Documents/Arduino/libraries/ODROID-GO

Linux

Open a Terminal by pressing CTRL-ALT-T and enter the following commands.

git clone https://github.com/hardkernel/ODROID-GO.git ~/Arduino/libraries/ODROID-GO

Select a target device

Arduino IDE has to know which board will be used for compiling and sending a data.
Select Tools → Board → ODROID ESP32.


Select a proper serial port

Arduino IDE has to know which port the device is connected to.
The port number depends on your system.
You might need to installCP2104 VCP drivers on your host computer if you can't open the serial port.

Windows


Select Tools → Port: “COM#” → COM#.

Linux


Since ODROID-GO always connects to the host PC via USB cable, select a USB device file.
Select Tools → Port → /dev/ttyUSB#.

Now you're ready to write your source code.
To learn how to write source code, please refer to this guide: Hello World.