You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
460 B

#include <Adafruit_SSD1306.h>
#define RAD_I2C_SDA 19 //19
#define RAD_I2C_SCL 18 //18
#define RAD_DISPLAY_I2C_ADDRESS 0x3C
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define RADCOLOR BLACK
#define RADBGRND WHITE
void initRadDisplay();
void changeRad(float value);
float convertValueToRadDisplay(float value);
void drawLineRadDisplay(float value);
void calcRad(int16_t x, int16_t y, int radius, float radSin, float radCos);
void overlayRadDisplay();