Skip to content

This library can be used for any display which have STE2007 driver. Most commonly used LCD display with STE2007 driver is Nokia 1202 LCD.

Notifications You must be signed in to change notification settings

parvaizahmad/Nokia_LCD_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summery

This library can be used for any display which have STE2007 driver. Most commonly used LCD display with STE2007 driver is Nokia 1202 LCD. This library was originally written for Arduino/AVR boards. I Updated this library to work with ESP8266. I hope that this library will also work for ESP32, I have not done any testing at this point.

Methods

Below is th list of all the availabe methods which one can use with the object.

  1. STE2007(uint8_t _RES, uint8_t _CS, uint8_t _Data, uint8_t _Clock)

    Object Creation with all the pins connected with the display.
  2. void Initialize()

    Initialization of the display.
  3. void Clear()

    Clear the display.
  4. void Update()

    Refreshing the display (outputting from the buffer).
  5. void drawPixel(byte x, byte y, boolean color)

    Draw pixel by pixel.
  6. void fillScreen(boolean color)

    Fill up the screen.
  7. void drawChar(byte x, byte y, boolean color, unsigned char c)

    Draw a character.
  8. void print(byte x, byte y, boolean color, char *str)

    Print a string.
  9. void print(byte x, byte y, boolean color, long num)

    Displaying a numerical value by coordinates.
  10. void print_1607(byte x, byte y, boolean color, char *str)

    Print a string of 1607 size
  11. void drawLine(byte x0, byte y0, byte x1, byte y1, boolean color)

    Draw the line by coordinates.
  12. void drawFastVLine(byte x, byte y, byte h, boolean color)

    Draw vertical line by coordinates.
  13. void drawFastHLine(byte x, byte y, byte w, boolean color)

    Draw horizantol line by coordinates.
  14. void drawRect(byte x, byte y, byte w, byte h, boolean color)

    Draw a rectangle at coordinates x, y, height, width, color.
  15. void drawCircle(byte x0, byte y0, int16_t r, boolean color)

    Draw a circle centered on coordinates x, y, radius, color.
  16. void drawRoundRect(byte x, byte y, byte w, byte h, byte r, boolean color)

    Draw a rounded rectangle by coordinates x, y, height, width, rounding radius, color.
  17. void drawTriangle(byte x0, byte y0, byte x1, byte y1, byte x2, byte y2, boolean color)

    Draw a triangle at the coordinates of the vertices x, y, x1, y1, x2, y2, color.
  18. void drawCircleHelper(byte x0, byte y0, byte r, byte cornername, boolean color)

    Draw a triangle at the coordinates of the vertices x, y, x1, y1, x2, y2, color.
  19. void fillCircle(byte x0, byte y0, byte r, boolean color)

    Draw a filled circle centered on coordinates x, y, radius, color.
  20. void fillCircleHelper(byte x0, byte y0, byte r, byte cornername, byte delta, boolean color)

    Draw a filled arc with coordinates x, y, radius, rotation angle, arc length, color.
  21. void fillRect(byte x, byte y, byte w, byte h, boolean color)

    Draw a filled rectangle at coordinates x, y, height, width, color.
  22. void fillRoundRect(byte x, byte y, byte w, byte h, byte r, boolean color)

    Draw a filled, rounded rectangle along the x, y coordinates, height, width, radius, color.
  23. void fillTriangle(byte x0, byte y0, byte x1, byte y1, byte x2, byte y2, boolean color)

    Draw a filled triangle at the coordinates of the vertices x, y, x1, y1, x2, y2, color.
  24. void drawBitmap(byte x, byte y, const char bitmap, byte w, byte h, boolean color)

    Draw the image in coordinates x, y, with a size of 96 by 64 pixels, with color 1 (1 - pixel is on, dark).
  25. void simb16x32(byte x, byte y, boolean color, byte c)

    Draw a number to coordinates x, y, color 1, number, size 16x32 pixels
  26. void simb10x16(byte x, byte y, boolean color, byte c)

    Draw a number to coordinates x, y, color 1, number, size 10x16 pixels

About

This library can be used for any display which have STE2007 driver. Most commonly used LCD display with STE2007 driver is Nokia 1202 LCD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published