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

24 lines
381 B

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