simon says with pro mini, display, ws2812 and touch keys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
atmega-simon/leds.h

25 lines
381 B

//
// Created by MightyPork on 2017/06/08.
//
#ifndef FIRMWARE_LEDS_H
#define FIRMWARE_LEDS_H
8 years ago
#include <stdint.h>
extern volatile uint8_t led_brightness_mul;
/**
* Set led colors
*
* @param new_leds - array of 4 ints for the 4 leds
*/
8 years ago
void leds_set(const uint32_t *new_leds);
/**
* Send the set colors to the neopixels
*/
8 years ago
void leds_show(void);
#endif //FIRMWARE_LEDS_H