Arduino Filters master
Filter library for Arduino
ShiftRegisterOut.hpp
Go to the documentation of this file.
1/* ✔ */
2
3#pragma once
4
6AH_DIAGNOSTIC_WERROR() // Enable errors on warnings
7
8#include "ShiftRegisterOutBase.hpp"
9
11#include <AH/Arduino-Wrapper.h> // MSBFIRST
13
15
22template <uint16_t N>
24 public:
55 ShiftRegisterOut(pin_t dataPin, pin_t clockPin, pin_t latchPin,
56 BitOrder_t bitOrder = MSBFIRST);
57
63 void begin() override;
64
68 void updateBufferedOutputs() override;
69
70 private:
73};
74
76
77#include "ShiftRegisterOut.ipp"
78
uint8_t BitOrder_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
#define END_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
#define AH_DIAGNOSTIC_EXTERNAL_HEADER()
Definition: Warnings.hpp:37
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:36
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:35
A class for serial-in/parallel-out shift registers, like the 74HC595.
A class for serial-in/parallel-out shift registers, like the 74HC595.