<!DOCTYPE html>
<html>
<head>
  <title>Energia Reference - Libraries </title>
  <link rel="shortcut icon" type="image/x-icon" href="http://energia.nu/img/eicon.png">
  <link rel='stylesheet' href='energiaWideRender.css' 
type='text/css' />
    <!--HeaderText--><style type='text/css'></style>  
  <meta name='robots' content='index,follow' />
  <meta name="Author" content="Robert Wessels" />
  <meta name="Publisher" content="Energia" />
  <meta name="Keywords" content="Energia, Wiring, Processing, Maker, LaunchPad, Arduino, Texas Instruments, Sketch, MSP430, mspgcc, mpsdebug, Electronic Arts, Programming, C, C++, Robert Wessels" />
  <meta name="Description" content="Energia is a rapid prototyping platform for the Texas Instruments MCU Launchpad. Energia is based on Wiring and Arduino and uses the Processing IDE." />
  <meta name="Copyright" content="All contents copyright Robert Wessels" />

</head>
<body>
<div id="page">
  <!--PageHeaderFmt-->
  <div id="pageheader">
    <div class="title"><a href='http://energia.nu'>Energia</a></div>
  </div>
  <!--/PageHeaderFmt-->

  <!--PageLeftFmt-->
  <div id="pagenav">
    <div id="navbar">
  	<p><a class='wikilink' href='http://energia.nu/'>Home</a>
<a class='wikilink' href='http://energia.nu/download'>Download</a>
<a class='wikilink' href='Guide_index.html'>Getting Started</a>
<a class='wikilink' href='index.html'>Reference</a>
<a class="wikilink" href="http://energia.nu/help.html">Getting Help</a>
<a class="nav" href="http://energia.nu/faq.html">FAQ</a>
<a class="wikilink" href="http://energia.nu/projects.html">Projects Using Energia</a>
<a class="nav" href="http://energia.nu/contact.html">Contact Us</a>
</p>


<p class='vspace'></p>

    </div>
  </div>
  <!--/PageLeftFmt-->

  <div id="pagetext">
  <!--PageText-->
<div id='wikitext'>
<p><strong>Reference</strong> &nbsp;  <a class='wikilink' href='index.html'>Language</a> | <a class='selflink' href='Libraries.html'>Libraries</a> | <a class='wikilink' href='Comparison.html'>Comparison</a> | <a class='wikilink' href='Changes.html'>Changes</a>
</p>
<p class='vspace'></p><h2>Libraries</h2>
<p>Libraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. To use a library in a sketch, select it from <strong>Sketch &gt; Import Library</strong>.   
</p>
<p class='vspace'></p><h3>Standard Energia Libraries (MSP430)</h3>
<ul><li><a class='wikilink' href='Library_AIR430Boost.html'>AIR430Boost</a>
</li><li><a class='wikilink' href='Library_IRremote.html'>IRremote</a>
</li><li><a class='wikilink' href='Library_LiquidCrystal.html'>LiquidCrystal</a>
</li><li><a class='wikilink' href='Library_MspFlash.html'>MspFlash</a>
</li><li><a class='wikilink' href='Library_Servo.html'>Servo</a>
</li><li><a class='wikilink' href='Library_SPI.html'>SPI</a>
</li><li><a class='wikilink' href='Library_Stepper.html'>Stepper</a>
</li><li><a class='wikilink' href='Library_Wire.html'>Wire</a>
</li></ul>
<p class='vspace'></p><h3>Standard Energia Libraries (Stellaris and Tiva C Series)</h3>
<ul><li><a class='wikilink' href='Library_EEPROM.html'>EEPROM</a>
</li><li><a class='wikilink' href='Library_SPI.html'>SPI</a>
</li><li><a class='wikilink' href='Library_Wire.html'>Wire</a>
</li></ul>
<p class='vspace'></p><h2>Contributed Libraries</h2>
<p>If you're using one of these libraries, you need to install it first.  To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix.  Open your Energia sketchbook folder. If there is already a folder there called <strong>libraries</strong>, place the library folder in there.  If not, create a folder called <strong>libraries</strong> in the sketchbook folder, and drop the library folder in there.  Then re-start the Energia programming environment, and you should see your new library in the <strong>Sketch &gt; Import Library</strong> menu.
</p>
<p class='vspace'></p><p>For details, see the page on  <a class='wikilink' href='Guide_Environment.html'>the Energia environment</a>.
</p>

<h3>Contributed Energia Libraries</h3>
<ul><li><a class='urllink' href='http://forum.43oh.com/topic/3398-energia-library-for-educational-boosterpack-launchpad/' rel='nofollow'>Educational BoosterPack</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3158-energia-library-capacitive-touch-library/' rel='nofollow'>Capacitive Touch Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3746-charlieplexing-and-more-library/' rel='nofollow'>Charlieplexiing</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3729-energia-library-andisplay-for-a-common-anode-display-and-kadisplay-for-a-common-cathode-display/' rel='nofollow'>Andisplay for a common Anode display, and Kadisplay for a common cathode display</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3237-energia-library-nordic-nrf24l01-library/' rel='nofollow'>Nordic nRF24L01+Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3617-energia-library-software-i2c-master-for-msp430g2553/' rel='nofollow'>Software I2C Mater for MSP430G2553</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3180-energia-library-virtualwire-110-library-ported-to-msp430energia/' rel='nofollow'>VirtualWire 1.10</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3099-energia-library-lm4f-mpu6050-library/' rel='nofollow'>LM4F MPU6050 Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3209-energia-library-petit-fatfs-sd-card-library/' rel='nofollow'>Petit FatFS SD Card Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2876-energia-library-nokia-5110-lcd-boosterpackbreakout-pcb/' rel='nofollow'>Nokia 5110 LCD BoosterPack Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3777-energia-library-bosch-bmp085-template-library/' rel='nofollow'>Bosch BMP085 Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3314-energia-library-onewire-ds18b20-430-stellaris/' rel='nofollow'>DS18B20 Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3551-very-basic-software-serial-tx-only-library/' rel='nofollow'>Basic Software Serial TX Only Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3510-energia-library-nec-ir-optimized-library-for-recive-ir-code-nec-type/' rel='nofollow'>NEC IR Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2882-energia-library-ws2811driver-led-controller-class/' rel='nofollow'>WS2811 LED Library </a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3366-energia-library-sw-serial-t-template-based-uart-code/' rel='nofollow'>Software Serial Class UART Libary</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3326-energia-library-colour-lcd-22-touch-library-for-launchpad-stellarpad/' rel='nofollow'>Colour LCD 2.2" Touch Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3321-energia-library-matrix-for-launchpad-fraunchpad-and-stellarpad/' rel='nofollow'>Matrix Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2894-energia-library-fraunchpad-3-axis-accelerometer/' rel='nofollow'>3-Axis Accelerometer Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2873-energia-library-ladyadas-dht-library-ported/' rel='nofollow'>DHT Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2865-energia-library-dht22-temp-rh-one-wire-sensor/' rel='nofollow'>DHT22 Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2861-energia-library-mstimer2/' rel='nofollow'>MsTimer2 Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3055-energia-library-analog-devices-ad9850-dds/' rel='nofollow'>AD9850 DDS Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/3083-energia-library-launchpad-stellarpad-%E2%80%94-23k640-spi-sram/' rel='nofollow'>23K640 SPI SRAM Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2860-energia-library-universal-color-lcd-boosterpack/' rel='nofollow'>Universal Color LCD BoosterPack Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2875-energia-library-the-430-lcd-boosterpack-nokia-7110-lcd/' rel='nofollow'>Nokia 7110 LCD Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2895-energia-library-fraunchpad-thermometer/' rel='nofollow'>NTC Thermometer Library</a>
</li><li><a class='urllink' href='http://forum.43oh.com/topic/2862-energia-library-lcd-button-boosterpack/' rel='nofollow'>LCD Button BoosterPack Library</a>
</li></ul><p class='vspace'></p>

<p class='vspace'></p><p>For a guide to writing your own libraries, see <a class='wikilink' href='Tutorial_Library.html'>this tutorial</a>.
</p>
<p class='vspace'></p><p><a class='wikilink' href='index.html'>Reference Home</a>
</p>
<p class='vspace'></p><p><em>Corrections, suggestions, and new documentation should be posted to the <a class='urllink' href='http://forum.43oh.com/forum/28-energia/' rel='nofollow'>Forum</a>.</em>
</p>
<p class='vspace'></p><p>The text of the Energia Reference is licensed under a
<a class='urllink' href='http://creativecommons.org/licenses/by-sa/3.0/' rel='nofollow'>Creative Commons Attribution-ShareAlike 3.0 License</a>.  Energia reference is based on Arduino reference.  Code samples in the reference are released into the public domain.
</p>
</div>


  </div>

  <!--PageFooterFmt-->
  <div id="pagefooter">
&copy;Energia | 
  <a href='#'>Edit Page</a> | <a href='#'>Page History</a> | <a href='#' target='_blank'>Printable View</a> | <a href='#'>All Recent Site Changes</a>
  </div>
  <!--/PageFooterFmt-->

</div>
</body>
</html>