-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCTOWS2811 and DmxReceiver #4
Comments
I have used the Octo library with no issues, here is the top of one of my sketches....
This was built using FastLED3.1. |
Thanks for this, Aaron. It is a bit different, so I will give it a go and On 17 Oct 2016 10:44 p.m., "Aaron Liddiment" notifications@github.com
|
I am afraid this does not work. FastLED.addLeds(leds[0], MATRIX_HEIGHT * MATRIX_WIDTH); returns the compile error: no matching function for call to 'CFastLED::addLeds(CRGB*, int)' On 17 October 2016 at 22:43, Aaron Liddiment notifications@github.com
|
My bad, the LED_PIN, COLOR_ORDER and CHIPSET are just left over defines and are not used in the above code. |
I am using a Teensy 3.1 on a matrix of 33 x 7 with LedText and LedSprites When dmx signals arrive I think that the DmxReceivers interrupts clash with FastLed allows me to use the Teensy's OCTOWS2811 library (this library uses #define USE_OCTOWS2811 This example compiles and runs fine, even when I add dmxreceiver to it. I want to use this but I cannot get a correct addLeds call when using the On 18 October 2016 at 10:59, Aaron Liddiment notifications@github.com
|
I presume when using my matrix class your are defining an instance?
You then do not need the CRGB leds declare as the CRGB array is defined within the MatrixClass. |
Hi Aaron Thanks for your indulgence! I have gotten somewhere! The problem is finding #define USE_OCTOWS2811 cLEDMatrix < MATRIX_WIDTH, -MATRIX_HEIGHT, MATRIX_TYPE > leds; FastLED.addLeds(leds[0], leds.Size()); or FastLED.addLeds(leds[0], leds.Size()); also works And I am displaying using the very fast OCTOWS2811 library and reading dmx Thanks again - even though you are not that active with this stuff you On 18 October 2016 at 19:58, Aaron Liddiment notifications@github.com
|
No problem :) |
Sorry to be a pain - but I am getting an unwanted column of leds when curFunction = _year; I have tried various things but I get a single column of pixels at the far On 18 October 2016 at 21:39, Aaron Liddiment notifications@github.com
|
I have never been a fan of string functions ;)
Of course it might not be a rogue character in the char array. Do you have the ERASE_BACKGROUND mode set or are you using LEAVE_BACKGROUND. And have you set the XY origin of the text area to be 0,0 and made it the full size of matrix area. Also you might want to make the Y origin -1 as if I remember correctly the Robotron font is 7 pixels high with a blank line along the bottom of the font. |
Hi Aaron
I am trying to use the LedMatrix, text and sprite libraries in my sketch together with the DmxReceiver library. I've got serious flickering problems when adding DMX data and was hoping to use the OCTOWS2811 library. FastLED has the feature to do this but it seems the the LedMatrix object does not inherit the correct templates.
To use the Teensy's OCTOWS2811 library with FastLED, one would add leds with this call:
FastLED.addLeds(leds, NUM_LEDS);
But if I do this inside the LEdMatrix sketch, I get this compile error:
no matching function for call to 'CFastLED::addLeds(cLEDMatrix<33, -7, (MatrixType_t)2u>&, int)'
and setting my CHIPSET to OCTOWS2811 with the standard LedMatrix call of:
FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds[0], leds.Size());
gives me this compile error:
no matching function for call to 'CFastLED::addLeds(CRGB*, int)'
I have tested the OCTOWS2811 example and added DMxReceiver to that and it seemed to work.
Can you please suggest how I can go about getting the OCTOWS2811 to wor with LedMatrix?
The text was updated successfully, but these errors were encountered: