rearrange files some a few cleanups, too.
This commit is contained in:
parent
ec4f175c2b
commit
f80dd24a8d
9 changed files with 16 additions and 13 deletions
27
embeddedcommon/embeddedout.h
Normal file
27
embeddedcommon/embeddedout.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef _EMBEDDEDOUT_H
|
||||
#define _EMBEDDEDOUT_H
|
||||
|
||||
#include "embeddednf.h"
|
||||
|
||||
|
||||
//Controls brightness
|
||||
#define NOTE_FINAL_AMP 12 //Number from 0...255
|
||||
|
||||
//Controls, basically, the minimum size of the splotches.
|
||||
#define NERF_NOTE_PORP 15 //value from 0 to 255
|
||||
|
||||
#define NUM_LIN_LEDS 296
|
||||
|
||||
#define LIN_WRAPAROUND 0 //Whether the output lights wrap around.
|
||||
#define SORT_NOTES 0 //Whether the notes will be sorted.
|
||||
|
||||
extern uint8_t ledArray[];
|
||||
extern uint8_t ledOut[]; //[NUM_LIN_LEDS*3]
|
||||
void UpdateLinearLEDs();
|
||||
|
||||
uint32_t ECCtoHEX( uint8_t note, uint8_t sat, uint8_t val );
|
||||
uint32_t EHSVtoHEX( uint8_t hue, uint8_t sat, uint8_t val ); //hue = 0..255 // TODO: TEST ME!!!
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue