NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
display_ug2864hsweg01.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SCREEN_WIDTH   128
 
#define SCREEN_HEIGHT   64
 
#define FONT_WIDTH   5
 
#define FONT_HEIGHT   7
 
#define HORIZONTAL_PADDING   1
 
#define VERTICAL_PADDING   1
 
#define CHARACTER_WIDTH_TOTAL   (FONT_WIDTH + HORIZONTAL_PADDING)
 
#define CHARACTER_HEIGHT_TOTAL   (FONT_HEIGHT + VERTICAL_PADDING)
 
#define SCREEN_CHARACTER_COLUMN_COUNT   (SCREEN_WIDTH / CHARACTER_WIDTH_TOTAL)
 
#define SCREEN_CHARACTER_ROW_COUNT   (SCREEN_HEIGHT / CHARACTER_HEIGHT_TOTAL)
 
#define VERTICAL_BARGRAPH_ZERO_CHARACTER   (128 + 32)
 
#define VERTICAL_BARGRAPH_CHARACTER_COUNT   7
 

Functions

bool ug2864hsweg01InitI2C (void)
 
void i2c_OLED_set_xy (uint8_t col, uint8_t row)
 
void i2c_OLED_set_line (uint8_t row)
 
void i2c_OLED_send_char (unsigned char ascii)
 
void i2c_OLED_send_string (const char *string)
 
void i2c_OLED_clear_display (void)
 
void i2c_OLED_clear_display_quick (void)
 

Macro Definition Documentation

#define CHARACTER_HEIGHT_TOTAL   (FONT_HEIGHT + VERTICAL_PADDING)
#define CHARACTER_WIDTH_TOTAL   (FONT_WIDTH + HORIZONTAL_PADDING)
#define FONT_HEIGHT   7
#define FONT_WIDTH   5
#define HORIZONTAL_PADDING   1
#define SCREEN_CHARACTER_COLUMN_COUNT   (SCREEN_WIDTH / CHARACTER_WIDTH_TOTAL)
#define SCREEN_CHARACTER_ROW_COUNT   (SCREEN_HEIGHT / CHARACTER_HEIGHT_TOTAL)
#define SCREEN_HEIGHT   64
#define SCREEN_WIDTH   128
#define VERTICAL_BARGRAPH_CHARACTER_COUNT   7
#define VERTICAL_BARGRAPH_ZERO_CHARACTER   (128 + 32)
#define VERTICAL_PADDING   1

Function Documentation

void i2c_OLED_clear_display ( void  )
void i2c_OLED_clear_display_quick ( void  )
void i2c_OLED_send_char ( unsigned char  ascii)
void i2c_OLED_send_string ( const char *  string)

Here is the call graph for this function:

void i2c_OLED_set_line ( uint8_t  row)
void i2c_OLED_set_xy ( uint8_t  col,
uint8_t  row 
)
bool ug2864hsweg01InitI2C ( void  )

according to http://www.adafruit.com/datasheets/UG-2864HSWEG01.pdf Chapter 4.4 Page 15

Here is the call graph for this function: