diff --git a/ssd1306.h b/ssd1306.h --- a/ssd1306.h +++ b/ssd1306.h @@ -1,17 +1,17 @@ -#ifndef SSD1303_H -#define SSD1303_H +#ifndef ssd1306_H +#define ssd1306_H #include "DrawText.h" -void SSD1303_Init(void); +void ssd1306_Init(void); void StartPageTransfer(void); -extern const DeviceProp SSD1303_Prop; -unsigned long SSD1303_DrawBlock(Pos_t x, Pos_t y, Pos_t cx, Pos_t cy, const unsigned char* data); -unsigned long SSD1303_IsOn(void); -unsigned long SSD1303_TurnOff(void); -unsigned long SSD1303_TurnOn(void); -unsigned char SSD1303_SetContrast(unsigned char contrast); -unsigned char SSD1303_GetContrast(); -unsigned char* SSD1303_GetBuffer(); -unsigned long SSD1303_DrawPoint(Pos_t x, Pos_t y, Color_t color); +extern const DeviceProp ssd1306_Prop; +unsigned long ssd1306_DrawBlock(Pos_t x, Pos_t y, Pos_t cx, Pos_t cy, const unsigned char* data); +unsigned long ssd1306_IsOn(void); +unsigned long ssd1306_TurnOff(void); +unsigned long ssd1306_TurnOn(void); +unsigned char ssd1306_SetContrast(unsigned char contrast); +unsigned char ssd1306_GetContrast(); +unsigned char* ssd1306_GetBuffer(); +unsigned long ssd1306_DrawPoint(Pos_t x, Pos_t y, Color_t color); #endif