Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Flexible Digitally Controlled RGB LED strips (HCOPTO0028) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 781
Post Re: Flexible Digitally Controlled RGB LED strips (HCOPTO002
I think i see the problem. Can you try the following:

In the HCWS2812.h header file find the following lines....

Code:
#if defined (ESP8266)
#define DOUT_HIGH GPOS = 1<<4
#define DOUT_LOW GPOC = 1<<4


...and change them to:

Code:
#if defined (ESP8266)
#define DOUT_HIGH GPOS = 1<<2
#define DOUT_LOW GPOC = 1<<2


If you could let me know if this fixes your problem i'll get an update made to the library.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sat Aug 05, 2017 9:58 am
Profile

Joined: Thu Jul 20, 2017 1:00 pm
Posts: 3
Post Re: Flexible Digitally Controlled RGB LED strips (HCOPTO002
That has done the job. :D

Thanks so much for your help on this, if you could update the library with the fix that would be great.


Wed Aug 09, 2017 11:57 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 781
Post Re: Flexible Digitally Controlled RGB LED strips (HCOPTO002
Thanks for confirming it works. The library was updated to work with the WeMos boards which are also ESP8266 based. However it looks like they may use slightly different core files compared to the ones used by the Huzzah Feather. Hence why it complies ok for one and not the other. I'll get the library updated to work with both as soon as possible.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Wed Aug 09, 2017 2:31 pm
Profile

Joined: Wed Apr 15, 2015 4:11 pm
Posts: 2
Post Re: Flexible Digitally Controlled RGB LED strips (HCOPTO002
Hi guys - great product, the LEDs are bright and vibrantly coloured. However, having a little trouble - would greatly appreciate some advice.
I'm trying to get the example code in the first post working. Number of LEDs set to 30 in the header, but no other edits.
I've been using the Arduino compatible Nano and Arduino compatible Mega both also from HC.

Half the refreshes work fine, but every other refresh will just set every LED to full blinding white instead of the intended pattern. This holds for both boards, I tried the Mega to see if it was a board-specific timing thing.

Just using a D-cell battery as a power supply regulated to 5V by the Red Wings breadboard module, nothing complicated.
Would love to put these to use, so thanks in advance for any help you can offer!


Fri Dec 22, 2017 10:47 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 781
Post Re: Flexible Digitally Controlled RGB LED strips (HCOPTO002
Does the same thing happen if you power the Arduino via USB? Also what version of the Arduino IDE are you using? It should show the version number in the top left hand part of the window.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sat Dec 23, 2017 7:41 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD