Prusa MINI Firmware overview
blinkm.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4  *
5  * Based on Sprinter and grbl.
6  * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 #pragma once
23 
24 /**
25  * blinkm.h - Control a BlinkM over i2c
26  */
27 
28 struct LEDColor;
29 typedef LEDColor LEDColor;
30 
31 void blinkm_set_led_color(const LEDColor &color);
LEDColor
LEDColor LEDColor
Definition: blinkm.h:28
blinkm_set_led_color
void blinkm_set_led_color(const LEDColor &color)
LEDColor::r
uint8_t r
Definition: leds.h:42
TwoWire::beginTransmission
void beginTransmission(uint8_t)
Definition: Wire.cpp:16
I2C_ADDRESS
#define I2C_ADDRESS(A)
Definition: macros.h:292
leds.h
blinkm.h
Wire.h
LEDColor::b
uint8_t b
Definition: leds.h:42
LEDColor
Definition: leds.h:41
TwoWire::write
virtual size_t write(uint8_t)
Definition: Wire.cpp:32
Wire
TwoWire Wire
Definition: Wire.cpp:60
TwoWire::begin
void begin(void)
Definition: Wire.cpp:13
TwoWire::endTransmission
uint8_t endTransmission(void)
Definition: Wire.cpp:20
LEDColor::g
uint8_t g
Definition: leds.h:42