michaelkamprath / ShiftRegisterLEDMatrixLib

A library for Arduino that can control LED matrices which use shift registers to manage rows and columns.
GNU Lesser General Public License v3.0
40 stars 8 forks source link

don't know how to include image #4

Closed tarbear123 closed 5 years ago

tarbear123 commented 5 years ago

i have it coded but i don't know how to include image

include

include "TimerAction.h"

include "LEDMatrixBits.h"

include "SPIConnection.h"

unsigned int rows, 32 unsigned int columns,32 bool columnControlBitOn = LOW, bool rowControlBitOn = LOW, unsigned int interFrameOffTimeMicros = 0,

if defined ( ESP8266 )

  int slavePin = D8 

else

  int slavePin = 10 

endif

LEDMatrix();

/**

michaelkamprath commented 5 years ago

I'm not sure what you are asking here. The code you post seems to be bits copied from various aspects of the library and then combined with a setup() call. What are you trying to accomplish? Have you reviewed the examples provided for how to use the library?

tarbear123 commented 5 years ago

i'm trying to accomplish displaying gifs on a 32x32 matrix and i already have the gifs i want downloaded

michaelkamprath commented 5 years ago

First, you need to ensure ensure that you 32x32 matrix has the circuit that this library supports. Specifically, this library only works with matrices that use shift registers for row and column control. Most 32x32 matrices you can buy at Adafruit or on eBay are a different circuit that this library was not designed to be used on.

Second, there is no provisions in this library as-is for loading GIF images. You can certainly write one if you desire, and pull requests are welcome. But sadly, more code is needed to display a GIF image on a LED matrix that this library controls.

michaelkamprath commented 5 years ago

@tarbear123 If you have no further questions, I will be closing this issue.

michaelkamprath commented 5 years ago

Closing due to inactivity. Please reopen if needed.