docs: more header files edited
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
55e8076988
commit
04edb9be04
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
|
||||
* Copyright (c) 2014 Intel Corporation.
|
||||
*
|
||||
@@ -44,10 +44,10 @@ const uint8_t DISPLAY_CMD_SET_NORMAL = 0xA4;
|
||||
* @web http://www.seeedstudio.com/wiki/Grove_-_OLED_Display_1.12%22
|
||||
* @con i2c
|
||||
*
|
||||
* @brief API for SSD1327 i2c controlled OLED displays
|
||||
* @brief API for SSD1327 I2C-controlled OLED displays
|
||||
*
|
||||
* The SSD1327 is a 96x96 Dot matrix OLED/PLED segment driver with controller.
|
||||
* This implementation was tested using the Grove LED 96×96 Display module
|
||||
* SSD1327 is a 96x96 dot-matrix OLED/PLED segment driver with a controller.
|
||||
* This implementation was tested using the Grove LED 96×96 Display module,
|
||||
* which is an OLED monochrome display.
|
||||
*
|
||||
* @image html ssd1327.jpeg
|
||||
@@ -57,10 +57,10 @@ class SSD1327 : public LCD
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* SSD1327 Constructor, calls libmraa initialisation functions
|
||||
* SSD1327 constructor; calls libmraa initialisation functions
|
||||
*
|
||||
* @param bus i2c bus to use
|
||||
* @param address the slave address the lcd is registered on
|
||||
* @param bus I2C bus to use
|
||||
* @param address Slave address the LCD is registered on
|
||||
*/
|
||||
SSD1327(int bus, int address = 0x3C);
|
||||
/**
|
||||
@@ -68,47 +68,47 @@ class SSD1327 : public LCD
|
||||
*/
|
||||
~SSD1327();
|
||||
/**
|
||||
* Draw an image, see examples/python/make_oled_pic.py for an
|
||||
* explanation on how the pixels are mapped to bytes
|
||||
* Draws an image; see examples/python/make_oled_pic.py for an
|
||||
* explanation of how pixels are mapped to bytes
|
||||
*
|
||||
* @param data the buffer to read
|
||||
* @param bytes the amount of bytes to read from the pointer
|
||||
* @return Result of operation
|
||||
* @param data Buffer to read
|
||||
* @param bytes Number of bytes to read from the pointer
|
||||
* @return Result of the operation
|
||||
*/
|
||||
mraa_result_t draw(uint8_t* data, int bytes);
|
||||
/**
|
||||
* Set gray level for LCD panel
|
||||
* Sets the gray level for the LCD panel
|
||||
*
|
||||
* @param gray level from 0-255
|
||||
* @return Result of operation
|
||||
* @param gray level from 0 to 255
|
||||
* @return Result of the operation
|
||||
*/
|
||||
void setGrayLevel(uint8_t level);
|
||||
/**
|
||||
* Write a string to LCD
|
||||
* Writes a string to the LCD
|
||||
*
|
||||
* @param msg The std::string to write to display, note only ascii
|
||||
* chars are supported
|
||||
* @return Result of operation
|
||||
* @param msg std::string to write to the display; note: only ASCII
|
||||
* characters are supported
|
||||
* @return Result of the operation
|
||||
*/
|
||||
mraa_result_t write(std::string msg);
|
||||
/**
|
||||
* Set cursor to a coordinate
|
||||
* Sets the cursor to specified coordinates
|
||||
*
|
||||
* @param row The row to set cursor to
|
||||
* @param column The column to set cursor to
|
||||
* @return Result of operation
|
||||
* @param row Row to set the cursor to
|
||||
* @param column Column to set the cursor to
|
||||
* @return Result of the operation
|
||||
*/
|
||||
mraa_result_t setCursor(int row, int column);
|
||||
/**
|
||||
* Clear display from characters
|
||||
* Clears the display of all characters
|
||||
*
|
||||
* @return Result of operatio
|
||||
* @return Result of the operation
|
||||
*/
|
||||
mraa_result_t clear();
|
||||
/**
|
||||
* Return to coordinate 0,0
|
||||
* Returns to the original coordinates (0,0)
|
||||
*
|
||||
* @return Result of operation
|
||||
* @return Result of the operation
|
||||
*/
|
||||
mraa_result_t home();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user