# FLORA & Codebender

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/016/976/medium800/flora_cb_promo_source_2.png?1400954705)

 **codebender** is an online development and collaboration platform for all Arduino users, makers, and engineers out there. It makes it easy for anyone, no matter how novice they are, to program their favorite microcontroller.  
  
codebender takes away all the frustration of setting up and maintaining your computer when developing applications for Arduino related hardware.  
  
It offers an advanced **editor** with highlighting, autoformating, and autocompletion. It has an extensive **[repository of libraries](https://codebender.cc/libraries)** that you can access directly from the editor, as well as a handy **compiler** with very descriptive output that will help you quickly debug your programs.  
  
**Your projects are stored on the cloud** , so you can access them anytime, from anywhere, and **share them** with your friends and colleagues. You can even **embed your code** anywhere on the Internet... on your favorite forum, or your personal blog.  
codebender supports an ever-growing **collection of Arduino platforms**. And now, one of those platforms is **FLORA** , Adafruit’s wearable electronics platform.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/950/medium800/flora_cb_diagram.png?1400878620)

In order to be able to program your FLORA, you need two pieces of software on your computer. The first is a **driver** that will allow your computer to recognize the FLORA. The other is a **browser plugin** that will allow codebender to communicate with the FLORA.  
  
Thankfully, codebender’s **Getting Started guide** will help you set these up, and have you programming your FLORA in just minutes. Let's check it out!

http://youtu.be/mpslRoBCVjQ

# FLORA & Codebender

## Sign Up

![](https://cdn-learn.adafruit.com/assets/assets/000/016/951/medium800/flora_cb_main_page.png?1400880236)

For starters, in order to use codebender, you have to create an account. You can visit [codebender](https://codebender.cc/?referral_code=3zsO6vjtPe "Link: https://codebender.cc/?referral\_code=3zsO6vjtPe"), click on the big "Try It Now!" button and take a quick tour of the editor.

  
Follow the steps that will get you familiar with the development environment and project properties. When you finish exploring, click "Sign Up" at the title bar to move on.![flora_cb_tour_signup_n.png](https://cdn-learn.adafruit.com/assets/assets/000/016/956/medium640/flora_cb_tour_signup_n.png?1400882913)

To create an **account** , you can either type in a username, an email, and a password, or sign up with your **Google** or **Github** account (no more passwords to remember).  
  
 If you typed in your own credentials, you will receive an **email** with an **activation link**. Just click on the "Confirm Account" button.  
  
If you chose to sign up with Google or Github, you may need to **login** and **authorize** codebender.  
  
After sign up, you will be redirected to your homepage. A message will appear to inform you that you will have to follow the **Getting Started Guide**. Just click on the "Let's Go!" button.

# FLORA & Codebender

## Install Plugin

![](https://cdn-learn.adafruit.com/assets/assets/000/016/965/medium800/flora_cb_guide.png?1400918522)

As the guide suggests, it will help you set everything up and start programming your FLORA. Let's begin.  
  
The first step is to install the codebender plugin.

# Firefox
![](https://cdn-learn.adafruit.com/assets/assets/000/016/966/medium800/flora_cb_plugin_firefox.png?1400919260)

If you are using **Firefox** , click on the "Add to Firefox" link. A popup message will appear… just click "Allow" to continue.   
  
Firefox will download the **plugin** , and then a window will open. Click "Install Now" to continue.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/967/medium800/flora_cb_firefox_install_now.png?1400919461)

Finally, restart Firefox. When Firefox opens again, you will be automatically directed to the next page.

# Chrome
![](https://cdn-learn.adafruit.com/assets/assets/000/016/968/medium800/flora_cb_plugin_win_chrome.png?1400919576)

If you are using **Chrome** on **Windows 8/8.1** , click on the "Add to Windows" link to download the **plugin**. A **Codebendercc.msi** file will appear in your **Downloads** folder. Double click on the file to install the plugin. After you’ve installed the plugin, you'll need to restart Chrome, and you will be redirected to the next page.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/969/medium800/flora_cb_plugin_chrome_store.png?1400919762)

If you are using **Chrome** on **Linux** , **Mac OS X** , or **other Windows editions** , click on the "Add to Chrome" link to get to the **chrome web store**. There, click on the "+ FREE" button to install the plugin. After installation, go back to the guide where you will be redirected to the next page.

# FLORA & Codebender

## Install Drivers

  

# Windows
![](https://cdn-learn.adafruit.com/assets/assets/000/016/971/medium800/flora_cb_driver.png?1400920124)

On **Windows** , you have to install the Arduino **drivers**. Click on the "Download Drivers" button. A **windows-driver-installer.zip** file will appear in your **Downloads** folder. Extract the zip file and double click on the **windows-driver-installer.exe** to install the driver. If you get any security warnings, click "Install" to continue.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/972/medium800/flora_cb_driver_install_warning.png?1400920252)

Info: 

After the drivers installation, the following window will appear. Click "OK". Then, go back to the guide, and you will be redirected to the next page.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/973/medium800/flora_cb_notify.png?1400920339)

  

# Linux
![](https://cdn-learn.adafruit.com/assets/assets/000/016/970/medium800/flora_cb_linux_perm.png?1400920037)

On **Linux** , you don’t have to install any drivers, but you need to set the correct permissions. Click on the "Show Manual Fix" button, and follow the directions there.

  

# Mac OS X
On **OS X** , you don't need to install any driver for FLORA. You can click on the "I've done this. Next" button to move on.  
  
On the other hand, if you're using other Arduino boards like Duemilanove, and other Arduinos that use an **FTDI** chip, you'll need to install the **drivers** at some point. So, if you think that you are going to use Arduino boards like that in the future, you can install the drivers now and have your computer ready.

# FLORA & Codebender

## Test your FLORA

[You can see the generic arduino blink sketch here](https://codebender.cc/sketch:8)  
You're all set up, and it’s time to **test** your FLORA.  
  
Connect the FLORA to your computer with a USB cable.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/964/medium800/flora_cb_run_n.png?1400886530)

On the left drop-down menu select " **Adafruit FLORA**". On the right menu, choose the **port**. If the FLORA is the only board connected on your computer, the right port should appear by default.

Info: 

Then click on the " **Run on Arduino**" button and watch FLORA’s **onboard LED blink**!

![](https://cdn-learn.adafruit.com/assets/assets/000/016/963/medium800thumb/flora_cb_blink_n.jpg?1448311672)

That's it! Your FLORA works and you are ready to start programming it.

# FLORA & Codebender

## Create New Projects

![](https://cdn-learn.adafruit.com/assets/assets/000/016/977/medium800/flora_cb_finish.png?1400957457)

On the final page of the guide, you can get some hints on where to go next.  
  
If you are just starting out with embedded electronics, give the blink example another try. Play with the on/off times of the LED and see what you can come up with.  
  
If you feel more adventurous, try creating your own project. Navigate to your [homepage](https://codebender.cc/) where you can create a new project. Type a name in the box and click on the “Create” button.

You'll be brought to the editor page. On the left you have the control panel, and on the right is the editor.

![](https://cdn-learn.adafruit.com/assets/assets/000/016/975/medium800/flora_cb_project.png?1400920790)

Write your program in the editor. Then, on the control panel, select your device (Adafruit FLORA), choose the right port, and click "Run on Arduino". The program uploads to your device, and then you can test how it performs.  
  
Have fun creating new and exciting projects.


## Featured Products

### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### Adafruit GEMMA v2 - Miniature wearable electronic platform

[Adafruit GEMMA v2 - Miniature wearable electronic platform](https://www.adafruit.com/product/1222)
 **Deprecation Warning: The Gemma bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well. So while we still carry the Gemma so that people can maintain some older projects, we no longer recommend it.** <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1222)
[Related Guides to the Product](https://learn.adafruit.com/products/1222/guides)
### Getting Started with Adafruit FLORA Book Pack

[Getting Started with Adafruit FLORA Book Pack](https://www.adafruit.com/product/2404)
Pickup a copy of&nbsp;[Getting Started with Adafruit FLORA](https://www.adafruit.com/products/1839)&nbsp;and then hit the ground running with everything that you need to become an [Adafruit FLORA](https://www.adafruit.com/products/659) supreme being!

This pack is...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2404)
[Related Guides to the Product](https://learn.adafruit.com/products/2404/guides)
### Getting Started with Adafruit FLORA

[Getting Started with Adafruit FLORA](https://www.adafruit.com/product/1839)
 **Making Wearables with an Arduino-Compatible Electronics Platform**  
  
This book introduces readers to building wearable electronics projects using Adafruit's tiny FLORA board: at 4.4 grams, and only 1.75 inches in diameter, and featuring Arduino compatibility, it's the...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1839)
[Related Guides to the Product](https://learn.adafruit.com/products/1839/guides)
### FLORA Sensor Pack

[FLORA Sensor Pack](https://www.adafruit.com/product/1458)
Sense the world around you! The FLORA Sensor Pack includes many types of sensors for your wearable enjoyment. Sense motion, direction, color, light levels, touch, and connections with FLORA sensor breakouts and conductive materials, and a few NeoPixels for experimenting with displaying your...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1458)
[Related Guides to the Product](https://learn.adafruit.com/products/1458/guides)
### FLORA GPS Starter Pack

[FLORA GPS Starter Pack](https://www.adafruit.com/product/1090)
Get started with the fabulous Adafruit Flora platform with this lovely starter kit. Included are plenty of parts to make a few different fun projects! There's a Flora motherboard, a GPS module that can also perform location datalogging, eight ultra-bright chainable RGB pixels, a battery...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1090)
[Related Guides to the Product](https://learn.adafruit.com/products/1090/guides)
### FLORA Budget Pack

[FLORA Budget Pack](https://www.adafruit.com/product/1405)
Get started with the fabulous Adafruit Flora platform with this lovely budget kit, just enough to get you started with this fun wearable computer. Included are enough parts to make your first wearable electronic project. There's a Flora motherboard, four ultra-bright chainable RGB pixels,...

In Stock
[Buy Now](https://www.adafruit.com/product/1405)
[Related Guides to the Product](https://learn.adafruit.com/products/1405/guides)

## Related Guides

- [FLORA and GEMMA ICSP](https://learn.adafruit.com/flora-and-gemma-isp.md)
- [Superhero Power Plant](https://learn.adafruit.com/superhero-power-plant.md)
- [Firewalker LED Sneakers](https://learn.adafruit.com/firewalker-led-sneakers.md)
- [Sewable NeoPixels](https://learn.adafruit.com/flora-rgb-smart-pixels.md)
- [Flora Wearable GPS](https://learn.adafruit.com/flora-wearable-gps.md)
- [3D Printed LED-Animation BMO](https://learn.adafruit.com/3d-printed-led-animation-bmo.md)
- [NeoPixel Matrix Snowflake Sweater](https://learn.adafruit.com/neopixel-matrix-snowflake-sweater.md)
- [Larson Scanner Shades (Trinket-Powered NeoPixel LED Strip Glasses)](https://learn.adafruit.com/larson-scanner-shades.md)
- [Adafruit Flora Bluefruit LE](https://learn.adafruit.com/adafruit-flora-bluefruit-le.md)
- [Adafruit Arduino IDE Setup](https://learn.adafruit.com/adafruit-arduino-ide-setup.md)
- [Adding Third Party Boards to the Arduino v1.6.4+ IDE](https://learn.adafruit.com/add-boards-arduino-v164.md)
- [Trinket / Gemma Space Invader Pendant](https://learn.adafruit.com/trinket-slash-gemma-space-invader-pendant.md)
- [FLORA TV-B-Gone](https://learn.adafruit.com/flora-tv-b-gone.md)
- [Flora TSL2561 Lux Sensor](https://learn.adafruit.com/flora-lux-sensor.md)
- [Glowing Fascinator Hat with Gemma M0 and MakeCode](https://learn.adafruit.com/glowing-fascinator-hat-gemma-m0-makecode.md)
