Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
AH
Hardware
Hardware-Types.hpp
Go to the documentation of this file.
1
/* ✔ */
2
3
#pragma once
4
5
#include <
AH/Containers/Array.hpp
>
6
#include <
AH/Settings/NamespaceSettings.hpp
>
7
#include <stdint.h>
// uint8_t
8
9
BEGIN_AH_NAMESPACE
10
12
using
analog_t
=
uint16_t
;
14
using
pin_t
=
uint16_t
;
15
16
#ifdef NO_PIN
// Fix for FastLED: https://github.com/FastLED/FastLED/issues/893
17
#undef NO_PIN
18
#endif
19
21
constexpr
pin_t
NO_PIN = 1 << (8 *
sizeof
(
pin_t
) - 1);
22
24
template
<
size_t
N>
25
using
PinList
=
Array<pin_t, N>
;
26
27
END_AH_NAMESPACE
NamespaceSettings.hpp
END_AH_NAMESPACE
#define END_AH_NAMESPACE
Definition
AH/Settings/NamespaceSettings.hpp:14
BEGIN_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
Definition
AH/Settings/NamespaceSettings.hpp:11
Array.hpp
AH::Array
An array wrapper for easy copying, comparing, and iterating.
Definition
Array.hpp:32
Generated by
1.10.0