Control Surface  1.2.0
MIDI Control Surface library for Arduino
Public Member Functions | List of all members
DefaultColorMapper Struct Reference

The default mapping from a 7-bit MIDI value to an RGB color. More...

#include <MIDI_Inputs/LEDs/FastLED.hpp>

+ Collaboration diagram for DefaultColorMapper:

Public Member Functions

Color operator() (uint8_t value, uint8_t index) const
 Map from a 7-bit MIDI value to an RGB color. More...
 

Detailed Description

The default mapping from a 7-bit MIDI value to an RGB color.

This uses the Novation Launchpad mapping.

Definition at line 22 of file FastLED.hpp.

Member Function Documentation

◆ operator()()

Color operator() ( uint8_t  value,
uint8_t  index 
) const

Map from a 7-bit MIDI value to an RGB color.

Definition at line 8 of file FastLED.cpp.


The documentation for this struct was generated from the following files: