CheeseBoard
A library for use with the CheeseBoard Cheddar platform
GfxSignalStrength.h
1 #pragma once
2 
3 #include <Arduino.h>
4 #include <stdint.h>
5 #include "GfxItem.h"
6 
11 class GfxSignalStrength : public GfxItem {
12 public:
14  void setSignal(uint8_t percent);
15  void draw(uint16_t xOffset=0, uint16_t yOffset=0);
16  uint16_t width();
17  uint16_t height();
18 
19 protected:
20  String _text;
21  uint8_t _signal;
22 
23 };
24 
Definition: GfxItem.h:5
void draw(uint16_t xOffset=0, uint16_t yOffset=0)