Introduction

Cloud9 IDE is a programming environment that allows you to write code in different languages on your BeagleBone Black.

It is pre-installed on your BeagleBone during the first startup and is provided with each Debian installation from the BeagleBone website. You can directly access Cloud9 IDE via SSH from your board on your computer’s web browser.

First Start

The first step is to connect the BeagleBone Black to your computer. Once recognized, open a web browser and enter the following address: http://192.168.7.2:3000

  • Workspace: You can access all files and folders in the Workspace window. Everything is organized hierarchically.

  • Editor: When you open one of your scripts, this is what you will see on the screen.

  • Console: When you compile your program, the console displays the output from your program.

  • Debugger: The debugger helps you understand what is happening in your program, showing the value of each variable, for example, with breakpoints.

  • Terminal: You can also control your board from the terminal. This means you can install updates, packages, or run other commands.

Test

Pour tester Cloud9 ide nous allons ouvrir un fichier en .js (javascript) de démo qui permet de faire clignoter les 4 leds de la Beaglebone Black. Pour cela vous trouverez le fichier dans démo puis « blinked.js ». Une fois cliqué sur Run vous devriez voir les leds de la Beaglebone black clignoter.