led_max7219.h
Go to the documentation of this file.
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
void led_max7219_setup(uint8_t displays);
void led_max7219_nop(uint8_t display);
void led_max7219_on(uint8_t display);
void led_max7219_off(uint8_t display);
void led_max7219_test(bool test, uint8_t display);
void led_max7219_intensity(uint8_t intensity, uint8_t digits, uint8_t display);
bool led_max7219_text(char* text, uint8_t display);
void led_max7219_number(uint32_t number, uint8_t dots, uint8_t display);
led_max7219_on
void led_max7219_on(uint8_t display)
switch display on
Definition: led_max7219.c:209
led_max7219_setup
void led_max7219_setup(uint8_t displays)
setup communication with MAX7219 IC
Definition: led_max7219.c:186
led_max7219_text
bool led_max7219_text(char *text, uint8_t display)
display text
Definition: led_max7219.c:240
led_max7219_test
void led_max7219_test(bool test, uint8_t display)
switch display in test or normal operation mode
Definition: led_max7219.c:219
led_max7219_off
void led_max7219_off(uint8_t display)
switch display off
Definition: led_max7219.c:214
led_max7219_number
void led_max7219_number(uint32_t number, uint8_t dots, uint8_t display)
display number
Definition: led_max7219.c:254
led_max7219_intensity
void led_max7219_intensity(uint8_t intensity, uint8_t digits, uint8_t display)
set display intensity
Definition: led_max7219.c:228
led_max7219_nop
void led_max7219_nop(uint8_t display)
do nothing (no operation)