Skip to content
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

hello sir, plz help me...want to scroll the array in 8x8 matrix #5

Open
LedArts opened this issue Jan 5, 2018 · 5 comments
Open

hello sir, plz help me...want to scroll the array in 8x8 matrix #5

LedArts opened this issue Jan 5, 2018 · 5 comments

Comments

@LedArts
Copy link

LedArts commented Jan 5, 2018

Hello Dear Master,
i want to scroll an Array in this code horizontaly and vertically 8x8 matrix plz help me

#include <Adafruit_NeoPixel.h>
#define PIN 6
#define MAX_LED 64
uint32_t LEDColour;
unsigned char x = 0;
unsigned char Colour[3];
unsigned char heart[10] = {12, 13, 17, 20, 26, 29, 33, 36, 44, 45};

Adafruit_NeoPixel strip = Adafruit_NeoPixel( MAX_LED, PIN, NEO_RGB + NEO_KHZ800 );
void setup() {
// put your setup code here, to run once:
strip.begin();
//
strip.show();
}

void loop() {

for (char number = 0; number < 64; number++) //
strip.setPixelColor(number, 0);
strip.show();//

// delay(1000);
for (char number = 0; number < 10; number++) //
strip.setPixelColor(heart[number], 255,0,0); // i want to scroll that heart array
strip.show();//
delay(1000);
}

@sfrwmaker
Copy link
Owner

Sorry, I did not understand the problem. Is there any issue with xmax_neopixel project?

@LedArts
Copy link
Author

LedArts commented Jan 6, 2018

no sir, its my project of 8x8 matrix
i have to scroll this
unsigned char heart[10] = {12, 13, 17, 20, 26, 29, 33, 36, 44, 45};
Array
plz give me scrolling function to scroll this

@sfrwmaker
Copy link
Owner

Oh, I have near overheat my brain trying to understand the issue. :)

OK. Have you got an e-mail address to discuss the problem?

@LedArts
Copy link
Author

LedArts commented Jan 7, 2018

ya i have its
[email protected]

@LedArts
Copy link
Author

LedArts commented Jan 7, 2018

8x8 vertical serpentine matrix

Actually i have matrix like this in the image
i draw a heart shape by this code in matrix now i have to scroll it horizontally and vertically.
heart

i want to move 8 led column or 8 led shift it. plz give me the concept

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants