LibDriver SSD1306
Loading...
Searching...
No Matches
driver_ssd1306_basic.c File Reference

driver ssd1306 basic source file More...

Include dependency graph for driver_ssd1306_basic.c:

Go to the source code of this file.

Functions

uint8_t ssd1306_basic_init (ssd1306_interface_t interface, ssd1306_address_t addr)
 basic example init
uint8_t ssd1306_basic_deinit (void)
 basic example deinit
uint8_t ssd1306_basic_display_on (void)
 basic example display on
uint8_t ssd1306_basic_display_off (void)
 basic example display off
uint8_t ssd1306_basic_clear (void)
 basic example clear
uint8_t ssd1306_basic_write_point (uint8_t x, uint8_t y, uint8_t data)
 basic example write a point
uint8_t ssd1306_basic_read_point (uint8_t x, uint8_t y, uint8_t *data)
 basic example read a point
uint8_t ssd1306_basic_string (uint8_t x, uint8_t y, char *str, uint16_t len, uint8_t color, ssd1306_font_t font)
 basic example draw a string
uint8_t ssd1306_basic_rect (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t color)
 basic example fill a rectangle
uint8_t ssd1306_basic_picture (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img)
 basic example draw a picture

Detailed Description

driver ssd1306 basic source file

Copyright (c) 2015 - present LibDriver All rights reserved

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version
2.0.0
Author
Shifeng Li
Date
2021-03-30

history

Date Version Author Description
2021/03/30 2.0 Shifeng Li format the code
2020/12/10 1.0 Shifeng Li first upload

Definition in file driver_ssd1306_basic.c.