NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
display_ug2864hsweg01.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "bus_i2c.h"
#include "system.h"
#include "display_ug2864hsweg01.h"
Include dependency graph for display_ug2864hsweg01.c:

Macros

#define INVERSE_CHAR_FORMAT   0x7f
 
#define NORMAL_CHAR_FORMAT   0x00
 
#define OLED_address   0x3C
 

Functions

void i2c_OLED_clear_display (void)
 
void i2c_OLED_clear_display_quick (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)
 
bool ug2864hsweg01InitI2C (void)
 

Variables

unsigned char CHAR_FORMAT = NORMAL_CHAR_FORMAT
 

Macro Definition Documentation

#define INVERSE_CHAR_FORMAT   0x7f
#define NORMAL_CHAR_FORMAT   0x00
#define OLED_address   0x3C

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:

Variable Documentation

unsigned char CHAR_FORMAT = NORMAL_CHAR_FORMAT