Files

  • Not Found
  • Invalid object requested. SHA must identify a commit or a tree.
Last update 6 months 1 week by Stephen Crane
Filesmqtt-tft
..
data
.gitignore
LICENSE
Makefile
README.md
configuration.cpp
configuration.h
dbg.h
graph.cpp
graph.h
label.cpp
label.h
mqtt-tft.ino
rssi.h
stator.h
label.h
#ifndef __LABEL_H__ #define __LABEL_H__ class TFT_eSPI; class Label { public: Label(TFT_eSPI &tft): _tft(tft) {} void setPosition(int16_t x, int16_t y) { _x = x; _y = y; } int16_t setFont(int16_t f); void setColor(int16_t fg, int16_t bg) { _fg = fg; _bg = bg; } void draw(const char *s); void printf(const char *fmt, ...); private: int16_t _x, _y, _pad, _h; int16_t _fg, _bg, _f; TFT_eSPI &_tft; }; #endif
Report a bug