aboutsummaryrefslogtreecommitdiff
path: root/Arduino/Libraies/AS1107/AS1107.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Arduino/Libraies/AS1107/AS1107.cpp')
-rwxr-xr-xArduino/Libraies/AS1107/AS1107.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Arduino/Libraies/AS1107/AS1107.cpp b/Arduino/Libraies/AS1107/AS1107.cpp
index c61819e..45a722c 100755
--- a/Arduino/Libraies/AS1107/AS1107.cpp
+++ b/Arduino/Libraies/AS1107/AS1107.cpp
@@ -428,8 +428,11 @@ AS1107::AS1107(byte cspin, byte clkpin, byte datapin)
// ------------------------------------------------------------------------------------
// Initializes Arduino and AS1107
// buffer is the initial screen buffer
-void AS1107::Init(byte * buffer)
+void AS1107::Init(byte * buffer, byte _Maxx, byte _Maxy, byte _cNum)
{
+ Maxx = _Maxx;
+ Maxy = _Maxy;
+ HighestCtrlNum = _cNum;
_buffer = buffer;
CalculateCharOffsets();
// Clear Screen buffer