Note: Another way to fix this is to use the DotStar LEDs which are very similar to the NeoPixels but don't rely on complicated timing (Uses SPI instead). The Arduino library from Adafruit, does not port directly over to MSP430 because it uses specific timing from the Arduino, so just use the Energia version from ILAMtitan. Next you can get the NeoPixel library for MSP430 from here courtesy of ILAMtitan.
#Wire library energia drivers
You will need to Download Energia IDE and set up your drivers for your LaunchPad.
![wire library energia wire library energia](https://4.bp.blogspot.com/-HCBO4c6-BZg/XOVTA1U5kkI/AAAAAAAAAVA/G_RLRjAsMEIxYMLsJlVzpyQgyh5DxmFDwCLcBGAs/s1600/8.png)
Ok now we are just going to be using the default Adafruit_NeoPixel library sketch strand test for the Software on the LaunchPad. Connect your JST connector from your battery pack to your 3 pin power rail on the bottom right of the LaunchPad (red wire to VCC, black wire to GND). For Data In you can use any GPIO on the LaunchPad. The LaunchPad will be providing VCC (3.3V), GND, and Data In signals, so we will need three wires to get the signals from the LaunchPad to the Neopixels. A battery holder with a switch makes it convenient so you can turn it off when not in use and save battery. You can also incorporate a coincell holder breakout if you prefer. I highly recommend using a simple 2x AA battery pack with a JST connector, you can get these from sparkfun or elsewhere. You also need a battery power source for your electronics. You can use some type of adhesive (glue, tape, putty, velcro) or fastener (string, thread, wire) to mount the hardware securely. You can proudly show off your LaunchPad on your brim or hide it away inside your hat. A lot of the creativity will come in how you wish to mount the hardware to the hat.
![wire library energia wire library energia](https://user-images.githubusercontent.com/951776/35625767-c5c39dd2-0693-11e8-94d5-11c4bf5a9efa.jpg)
AA or AAA battery Pack with JST connector for easy powering 3x Jumper wires to connect LaunchPad to Ring MSP-EXP430G2 TI LaunchPad kit ( - Adafruit NeoPixel Ring (16x RGB LED ring) In this project we can add some fun to a unique hat for parties or just looking cool as you go about your day.