Line data Source code
1 : #pragma once 2 : 3 : #include <Control_Surface/Control_Surface_Class.hpp> 4 : 5 : BEGIN_CS_NAMESPACE 6 : 7 : class ContinuousCCSender { 8 : public: 9 9 : void send(uint8_t value, MIDICNChannelAddress address) { 10 9 : Control_Surface.MIDI().sendCC(address, value); 11 9 : } 12 : 13 : constexpr static uint8_t precision() { return 7; } 14 : }; 15 : 16 : END_CS_NAMESPACE