Skip to content

Commit

Permalink
fixing glitchy output on the display
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawson committed Feb 13, 2024
1 parent 19d6bf2 commit dee0c9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions src/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,17 @@ int display_initialize() {
32, // height
1, // chain length
pins, // pin mapping
//HUB75_I2S_CFG::FM6126A, // driver chip
HUB75_I2S_CFG::ICN2038S, // driver chip
true, // double-buffering
//HUB75_I2S_CFG::HZ_10M);
HUB75_I2S_CFG::HZ_8M);
HUB75_I2S_CFG::HZ_10M);

mxconfig.latch_blanking = 4;
mxconfig.clkphase = false;


_matrix = new MatrixPanel_I2S_DMA(mxconfig);


// Set brightness and clear the screen.

if (!_matrix->begin()) {
Expand Down
4 changes: 2 additions & 2 deletions src/remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ struct remote_state {
size_t max;
};

#define HTTP_BUFFER_SIZE_MAX 512 * 1024
#define HTTP_BUFFER_SIZE_DEFAULT 32 * 1024
#define HTTP_BUFFER_SIZE_MAX 640 * 1024
#define HTTP_BUFFER_SIZE_DEFAULT 40 * 1024

#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
Expand Down

0 comments on commit dee0c9f

Please sign in to comment.