View RSS Feed

xpress_embedo

OLED Display Library for PIC Micro-Controller

Rate this Entry
In this blog post i will share the OLED libraries with you, which are written for mikroC compiler and can be used with any other C compiler.

Following are the functions which are currently present.

Code:
void OLED_Init( void );
uint8_t OLED_Width( void );
uint8_t OLED_Height( void );
void OLED_Update( void );
void OLED_SetContrast( uint8_t contrast );
void OLED_ClearDisplay( void );
void OLED_FillDisplay( void );
void OLED_DrawPixel( uint8_t x, uint8_t y, uint8_t color);
void OLED_InvertDisplay( uint8_t value );
void OLED_SetFont( const uint8_t *font);
void OLED_InvertFont( uint8_t invert_status );
void OLED_Circle( int8_t x_center, int8_t y_center, uint8_t radius, uint8_t color);
void OLED_Line( int8_t x_start, int8_t y_start, int8_t x_end, int8_t y_end, uint8_t color);
void OLED_V_Line ( uint8_t y_start, uint8_t y_end, uint8_t x_pos, uint8_t color);
void OLED_H_Line( uint8_t x_start, uint8_t x_end, uint8_t y_pos, uint8_t color);
void OLED_Rectangle( uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint8_t color);
void OLED_FillRectangle( uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint8_t color);
void OLED_Triangle(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint8_t color);
void OLED_Circle( int8_t x0, int8_t y, uint8_t r, uint8_t color );
void OLED_Image( const uint8_t *image);
void OLED_Write( uint8_t x, uint8_t y, uint8_t value );
void OLED_Write_Text(uint8_t x, uint8_t y, uint8_t *text);
The following are the snaps taken from the actual hardware.

Click image for larger version. 

Name:	Actual_1.PNG 
Views:	125 
Size:	262.9 KB 
ID:	145074

Click image for larger version. 

Name:	Actual_2.PNG 
Views:	120 
Size:	226.4 KB 
ID:	145075

Click image for larger version. 

Name:	Actual_3.PNG 
Views:	116 
Size:	227.2 KB 
ID:	145076

Click image for larger version. 

Name:	Actual_4.PNG 
Views:	115 
Size:	236.1 KB 
ID:	145077

Click image for larger version. 

Name:	Actual_5.PNG 
Views:	123 
Size:	214.4 KB 
ID:	145078

Video Demo:



Download Link

DHT11 Interfacing with PIC and updating Values on OLED
DHT11 Temperature and Humidity Sensor is used and the sensed temperature and humidity values are updated on OLED using the libraries.

Demo Video
https://www.youtube.com/watch?v=cWC7MejdMhc

Software Attached
OLEDv1.0.zip

DHT11_OLEDv1.0.zip
Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Display.png 
Views:	303 
Size:	210.3 KB 
ID:	145079  

Updated 4th March 2018 at 12:43 by xpress_embedo (Uploading Software with the Post)

Tags: None Add / Edit Tags
Categories
Uncategorized

Comments

  1. andre_teprom's Avatar
    Nice library.
    I have used another one, but the yours seems having more features.