aboutsummaryrefslogtreecommitdiff
path: root/drivers/avr/apa102.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/avr/apa102.h')
-rw-r--r--drivers/avr/apa102.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/avr/apa102.h b/drivers/avr/apa102.h
deleted file mode 100644
index d4c1e18ee..000000000
--- a/drivers/avr/apa102.h
+++ /dev/null
@@ -1,45 +0,0 @@
1/*
2 * light weight WS2812 lib include
3 *
4 * Version 2.3 - Nev 29th 2015
5 * Author: Tim (cpldcpu@gmail.com)
6 *
7 * Please do not change this file! All configuration is handled in "ws2812_config.h"
8 *
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23#pragma once
24
25#include <avr/io.h>
26#include <avr/interrupt.h>
27
28#include "color.h"
29
30/* User Interface
31 *
32 * Input:
33 * ledarray: An array of GRB data describing the LED colors
34 * number_of_leds: The number of LEDs to write
35 * pinmask (optional): Bitmask describing the output bin. e.g. _BV(PB0)
36 *
37 * The functions will perform the following actions:
38 * - Set the data-out pin as output
39 * - Send out the LED data
40 * - Wait 50�s to reset the LEDs
41 */
42
43void apa102_setleds(LED_TYPE *ledarray, uint16_t number_of_leds);
44void apa102_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pinmask);
45void apa102_setleds_rgbw(LED_TYPE *ledarray, uint16_t number_of_leds);