Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
StaticSizeExtendedIOElement.hpp
Go to the documentation of this file.
1/* ✔ */
2
3#pragma once
4
7
9
15template <uint16_t N>
16class StaticSizeExtendedIOElement : public ExtendedIOElement { // LCOV_EXCL_LINE
17 protected:
19
20 public:
25 return generateIncrementalArray<pin_t, N>(getStart(), pin_int_t {1});
26 }
27
28 static constexpr uint16_t length() { return N; }
29};
30
#define END_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
An abstract base class for Extended Input/Output elements.
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
A class for ExtendedIOElements with a fixed size.
Array< pin_t, N > pins() const
Get an array containing all pins of the element.