Skip to content

Commit

Permalink
Add FM6353/FM6363 drivers support
Browse files Browse the repository at this point in the history
  • Loading branch information
board707 committed Dec 1, 2023
1 parent cac169c commit f3ba87e
Show file tree
Hide file tree
Showing 8 changed files with 610 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# ChangeLog
## [1.1.0] - 2023-11-30
- FM6353/FM6363 S-PWM drivers support

## [1.0.7] - 2023-11-21
- Add new templates, minor bugs fix

## [1.0.6] - 2023-05-15
- Add support of SHIFT_REG mux for RP2040 boards
- Change base class of RGB_SHIFTREG_ABC to DMD_RGB rather than DMD_RGB_BASE2
Expand Down
4 changes: 3 additions & 1 deletion DMD_Panel_Templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#ifndef DMD_PANEL_TEMPLATES_H
#define DMD_PANEL_TEMPLATES_H
/*--------------------------------------------------------------------------------------
This file is a part of the library DMD_STM32
This file is a part of the DMD_STM32 library
DMD_STM32.h - STM32 port of DMD.h library
Expand Down Expand Up @@ -647,6 +647,8 @@ class DMD_RGB<RGB64x32_S8_Eu057, COL_DEPTH> : public DMD_RGB_BASE2<COL_DEPTH>
// Since the panel is only 104 pixels wide, the 8 pins in the middle of the driver chain
// are not connected to anything. When loading data, you have to insert zeros into each row.
//
// STM32 only!
// For STM32F4 you must comment RGB_DMA define in DMD_config.h line 26
//--------------------------------------------------------------------------------------/
template<int COL_DEPTH>
class DMD_RGB<RGB104x52_S13_Craftish, COL_DEPTH> : public DMD_RGB_BASE2<COL_DEPTH>
Expand Down
4 changes: 4 additions & 0 deletions DMD_RGB.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
#endif



// COLOR DEPTH
#if (defined(__STM32F1__)|| defined(__STM32F4__))

void inline __attribute__((always_inline)) scan_running_dmd_R();

#define COLOR_4BITS_Packed 3
#endif
#define COLOR_4BITS 4
Expand Down
12 changes: 11 additions & 1 deletion DMD_RGB_FM6126a.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
#pragma once
#ifndef DMD_RGB_FM6126_H
#define DMD_RGB_FM6126_H
/*--------------------------------------------------------------------------------------
This file is a part of the DMD_STM32 library
// FM6126a class is supported for STM32 boards only
DMD_STM32.h - STM32 port of DMD.h library
https://github.com/board707/DMD_STM32
Dmitry Dmitriev (c) 2019-2023
/--------------------------------------------------------------------------------------*/

// FM6126a driver class

// (supported for STM32 boards only)
/*--------------------------------------------------------------------------------------*/
#if (defined(__STM32F1__) || defined(__STM32F4__))
#include "DMD_RGB.h"

Expand Down
Loading

0 comments on commit f3ba87e

Please sign in to comment.