Hi everyone!
I am currently working on a 24x24 LED display using the OctoWS2811 library with one teensy board, and following the instructions provided on the PJRC website.
I am using the original code provided, just replacing the LED_WIDTH and LED_HEIGHT to fit my project, however instead of all the LEDs lighting up, only the first three rows light up - so instead of 576 lights, only 72 LEDs light up.
My original speculation was that it was an issue with the code that defines the ledsPerStrip, so I tried setting LED_HEIGHT to 192 (so that the total LEDs would equal to 576), and while that turned on all the LEDs it elongated the image in processor and the final result was a distorted compressed image. I am not receiving any code error messages, and have checked my wiring and everything seems to be in order.
Any advice would be appreciated!
Specs:
I am currently working on a 24x24 LED display using the OctoWS2811 library with one teensy board, and following the instructions provided on the PJRC website.
I am using the original code provided, just replacing the LED_WIDTH and LED_HEIGHT to fit my project, however instead of all the LEDs lighting up, only the first three rows light up - so instead of 576 lights, only 72 LEDs light up.
Code:
#define LED_WIDTH 24 // number of LEDs horizontally
#define LED_HEIGHT 24 // number of LEDs vertically (must be multiple of 8)
#define LED_LAYOUT 0 // 0 = even rows left->right, 1 = even rows right->left
#define VIDEO_XOFFSET 0
#define VIDEO_YOFFSET 0 // display entire image
#define VIDEO_WIDTH 100
#define VIDEO_HEIGHT 100
const int ledsPerStrip = LED_WIDTH * LED_HEIGHT /8;
My original speculation was that it was an issue with the code that defines the ledsPerStrip, so I tried setting LED_HEIGHT to 192 (so that the total LEDs would equal to 576), and while that turned on all the LEDs it elongated the image in processor and the final result was a distorted compressed image. I am not receiving any code error messages, and have checked my wiring and everything seems to be in order.
Any advice would be appreciated!
Specs:
- Teensy 3.6 board
- OctoWS2811 LED library
- Arduino, VideoDisplay code
- Processing, Movie2Serial code
- 24x24 5v OctoWS2812 LED setup (a total of 576 LED lights)
- Working on Windows