Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Sep 17, 2023
1 parent 4160e4a commit b6cc986
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 90 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ void loop() {
- v1.2.2 - убран FastIO
- v1.3 - мелкие доработки и оптимизация, добавил поворот матриц
- v1.4 - добавил поддержку матричных дисплеев любой конфигурации (точка подключения, направление, чередование)
- v1.5 - добавил раздельное управление яркостью и питанием матриц

<a id="feedback"></a>
## Баги и обратная связь
Expand Down
2 changes: 1 addition & 1 deletion examples/emoji/emoji.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAX7219 < 1, 1, 5 > mtrx; // одна матрица (1х1), пин CS на D5

// https://github.com/jorydotcom/matrix-emoji/blob/master/current-j5-emoji.js

// каждый массив - одby emoji
// каждый массив - один emoji
const uint8_t angryface_B[] PROGMEM = {0x00, 0x66, 0x66, 0x00, 0x18, 0x24, 0x42, 0x81};
const uint8_t circle_B[] PROGMEM = {0x3c, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x3c};
const uint8_t cdot_B[] PROGMEM = {0x3c, 0x42, 0x81, 0x99, 0x99, 0x81, 0x42, 0x3c};
Expand Down
23 changes: 23 additions & 0 deletions examples/running/running.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#include <Arduino.h>

#include <GyverMAX7219.h>
#include <RunningGFX.h>

MAX7219<4, 1, 5> mtrx;
RunningGFX run(&mtrx);
const char pstr_g[] PROGMEM = "Global pgm string";

void setup() {
mtrx.begin(); // запускаем
mtrx.setBright(5); // яркость 0..15

run.setSpeed(15);
// run.setText("hello");
run.setText_P(pstr_g);
// run.setWindow(5, 15, 1);
run.start();
}

void loop() {
run.tick();
}
1 change: 0 additions & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
GyverMAX7219 KEYWORD1
MAX7219 KEYWORD1


#######################################
# Methods and Functions (KEYWORD2)
#######################################
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=GyverMAX7219
version=1.4
version=1.5
author=AlexGyver <alex@alexgyver.ru>
maintainer=AlexGyver <alex@alexgyver.ru>
sentence=Fast and light MAX7219 matrix library
Expand Down
Loading

0 comments on commit b6cc986

Please sign in to comment.