2828#define LED_MAX_CHARS \
2929 4 // /< Maximum number of characters to display on the alphanumeric display
3030
31-
3231/* !
3332 @brief Class that provides a driver interface for Quad Alphanumeric
3433 Displays w/I2C Backpack
3534*/
36- class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Driver_Out {
35+ class WipperSnapper_I2C_Driver_Out_QuadAlphaNum
36+ : public WipperSnapper_I2C_Driver_Out {
3737
3838public:
3939 /* ******************************************************************************/
@@ -45,20 +45,22 @@ class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Drive
4545 7-bit device address.
4646 */
4747 /* ******************************************************************************/
48- WipperSnapper_I2C_Driver_Out_QuadAlphaNum (TwoWire *i2c, uint16_t sensorAddress) : WipperSnapper_I2C_Driver_Out(i2c, sensorAddress) {
48+ WipperSnapper_I2C_Driver_Out_QuadAlphaNum (TwoWire *i2c,
49+ uint16_t sensorAddress)
50+ : WipperSnapper_I2C_Driver_Out(i2c, sensorAddress) {
4951 _i2c = i2c;
5052 _sensorAddress = sensorAddress;
5153 }
5254
5355 /* !
5456 @brief Destructor for an MS8607 sensor.
5557 */
56- ~WipperSnapper_I2C_Driver_Out_QuadAlphaNum () {
58+ ~WipperSnapper_I2C_Driver_Out_QuadAlphaNum () {
5759 if (_alpha4 != nullptr ) {
5860 delete _alpha4;
5961 _alpha4 = nullptr ;
6062 }
61- }
63+ }
6264
6365 /* !
6466 @brief Initializes the drvOutQuadAlphaNum component and begins I2C.
@@ -180,10 +182,13 @@ class WipperSnapper_I2C_Driver_Out_QuadAlphaNum : public WipperSnapper_I2C_Drive
180182 }
181183
182184protected:
183- Adafruit_AlphaNum4 *_alpha4 = nullptr ; // /< ptr to a 4-digit alphanumeric display object
185+ Adafruit_AlphaNum4 *_alpha4 =
186+ nullptr ; // /< ptr to a 4-digit alphanumeric display object
184187 int32_t _brightness; // /< Brightness of the LED backpack, from 0 (off) to 15
185188 // /< (full brightness)
186- uint32_t _alignment = LED_BACKPACK_ALIGNMENT_DEFAULT; // /< Determines L/R alignment of the message displayed
189+ uint32_t _alignment =
190+ LED_BACKPACK_ALIGNMENT_DEFAULT; // /< Determines L/R alignment of the
191+ // /< message displayed
187192};
188193
189194#endif // WIPPERSNAPPER_I2C_DRIVER_OUT_QUADALPHANUM_H
0 commit comments