Author Topic: RFduino GE G35 Christmas Lights  (Read 3946 times)

RFadmin

  • Administrator
  • *****
  • Posts: 77
  • Karma: +9/-2
    • View Profile
RFduino GE G35 Christmas Lights
« on: December 04, 2013, 09:33:14 PM »
RFduino GE G35 Christmas Lights

<a href="http://www.youtube.com/v/4COUSiCFrqg" target="_blank" class="new_win">http://www.youtube.com/v/4COUSiCFrqg</a>

Make sure to downloaded the latest RFduino distribution from Github ( https://github.com/RFduino/RFduino), this is a MUST.  For this example we are using the G35 library by Paul Martis (http://www.digitalmisery.com) with a couple modifications.

-Modified the G35String.cpp :
changed the DELAYEND from 40 to 30

-Modified the G35.cpp:
added while (RFduinoBLE.radioActive) functions to various set color functions. This is a new function made available in the latest RFduino distribution which allows us to wait while the BLE radio is active. This is necessary with longer LED strings otherwise when the radio turns on it takes priority over the CPU resources and that can causing timing issues with the LED data line.

Install G35 library (attached below) in your RFduino library folder. In the attached examples we are using GPIO 6 as our Data line, just simply attach the ground and data lines from the RFduino to your GE G35 lights as shown in the video and you should be good to go.

There are 4 examples included, feel free to modify and share  :)
« Last Edit: December 04, 2013, 09:58:04 PM by RFadmin »

elegant

  • RFduino Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: RFduino GE G35 Christmas Lights
« Reply #1 on: December 25, 2013, 11:36:47 AM »
hmm... Is it just me or do none of the default sequences work. The rfduino specific examples attached seem to work, but any of the example programs in the library don't. Just gets to the light.enumerate and then idk... no bluetooth broadcast from the device no sequences showing.