Skip to content

Commit

Permalink
Releasing v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Electro707 committed Mar 31, 2020
1 parent 3266888 commit 99fe456
Show file tree
Hide file tree
Showing 9 changed files with 236 additions and 249 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
v1.3
-Added print function
-Added general sendColumnBuffer
-Removed sendCustomSymbol (replaced with sendColumnBuffer)
-Added 'rotateIndividualDislay' option in the class declaration
v1.2
-Started to keep track of changes. Anything before this would be a guess based on commit messages. Also started to track versions at 1.2
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ Link to the official guide can be found [here!](https://www.arduino.cc/en/Guide/
Follow the "Importing a .zip Library" section of the guide to import this library.

## To-Do
- Add documentation describing how the LED Matrix will be hooked up to the Arduino with drawings.
- Create examples demonstrating how to use the Python Generators and the library
- Create more examples
- Have scrolling be able to be done from left to right

## Authors

Expand Down
4 changes: 2 additions & 2 deletions examples/4_Matrix_Bitmap/4_Matrix_Bitmap.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ void setup(){
disp.begin();
// Set the LED's intensity. This value can be anywhere between 0 and 15.
disp.setIntensity(0x02);
// Send the custom bitmap to the 4 matrices
disp.sendMatrixBuffer(TEST_BITMAP);
// Send the custom bitmap that is 32 columns wide (4 matrices * 8 columns each) starting at position #0
disp.sendColumnBuffer(TEST_BITMAP, 4*8, 0);
}

// After void setup(), this code will run and loop forever.
Expand Down
6 changes: 3 additions & 3 deletions examples/Demo/Demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ simpleMatrix disp(4);
/*
Store the text to be displayed in memory
The PROGMEM means that the text will be stored in the Arduino's
flash memory instead of RAM
flash memory instead of RAM. This means that you can a lot more stuff (~27000 characters available)
*/
const char text[] PROGMEM = "Hello World!";
//Defines "textDelay" as 100.
#define textDelay 100
//Defines "textDelay" as 25ms (Delay between when the display scroll by 1 pixel to the left).
#define textDelay 25

//This code will run only once when the Arduino is turned on.
void setup(){
Expand Down
4 changes: 2 additions & 2 deletions examples/Single_Matrix_Bitmap/Single_Matrix_Bitmap.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ void setup(){
disp.begin();
// Set the LED's intensity. This value can be anywhere between 0 and 15.
disp.setIntensity(0x02);
// Send the custom bitmap to the first matrix
disp.sendCustomSymbol(0, TEST_BITMAP);
// Send the custom bitmap that is 8 columns wide starting at position #0
disp.sendColumnBuffer(TEST_BITMAP, 8, 0);
}

// After void setup(), this code will run and loop forever.
Expand Down
5 changes: 3 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ clearDisplay KEYWORD2
fillDisplay KEYWORD2
scrollText KEYWORD2
scrollTextPROGMEM KEYWORD2
sendMatrixBuffer KEYWORD2
print KEYWORD2
setIntensity KEYWORD2
setPixel KEYWORD2
sendCustomSymbol KEYWORD2
sendColumnBuffer KEYWORD2
scrollBuffer KEYWORD2
sendMatrixBuffer KEYWORD2

#######################################
# Constants (LITERAL1)
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Simple LED Matrix
version=1.2
version=1.3
author=Jamal Bouajjaj
maintainer=Jamal Bouajjaj <[email protected]>
sentence=A library for the MAX7219 and the MAX7221 Led display drivers.
Expand Down
Loading

0 comments on commit 99fe456

Please sign in to comment.