diff options
Diffstat (limited to 'Arduino/Libraies/AS1107/AS1107.h')
-rwxr-xr-x | Arduino/Libraies/AS1107/AS1107.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Arduino/Libraies/AS1107/AS1107.h b/Arduino/Libraies/AS1107/AS1107.h index 80b01da..7e9b2ab 100755 --- a/Arduino/Libraies/AS1107/AS1107.h +++ b/Arduino/Libraies/AS1107/AS1107.h @@ -36,7 +36,7 @@ class AS1107 void WriteRegister2(byte chip, byte reg, byte data);
void WriteRegister(byte chip, byte reg, byte data);
void WriteColumn( byte column, byte data);
- void Init(byte *buffer);
+ void Init(byte *buffer, byte Maxx, byte Maxy, byte cNum);
void SetBuffer(byte *buffer);
void SetLed(int x, int y, byte value);
void Clear();
@@ -59,9 +59,9 @@ class AS1107 // ***************************************
// Set your module configuration here
// ***************************************
- static const byte Maxx=8; // maximum x - Pixels of the Module
- static const byte Maxy=19; // maximum y - Pixels of the Module
- static const byte HighestCtrlNum=5; // Number of Matrix modules -1 (0 = single module)
+ byte Maxx; // maximum x - Pixels of the Module
+ byte Maxy; // maximum y - Pixels of the Module
+ byte HighestCtrlNum; // Number of Matrix modules -1 (0 = single module)
private:
byte _cspin;
|