Giter VIP home page Giter VIP logo

u8glib's Introduction

U8glib

Note: There will be no more development for U8glib. Please use u8g2.

A graphics library with support for many different monochrome displays.

nhd_oled180.jpg dogs102_180.jpg

Left: NHD-2.7-12864 OLED (SSD1325), right: EA DOGS102 LCD (UC1701)

u8glib's People

Contributors

christof65 avatar cruzr avatar daniel-thompson avatar flo90 avatar getoffmyhack avatar jmenges avatar luxflow avatar matthijskooijman avatar olikraus avatar yhfudev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

u8glib's Issues

add pb16 to the repo, undo intermediate fixes

Originally reported on Google Code with ID 50

1) add the missing pb16v2 architecture to the repository
2) fix "sys/sdl/dev/u8g_dev_sdl.c"

Reported by olikraus on 2012-03-03 21:17:35

clipping

Originally reported on Google Code with ID 10

idea: virtual device, which writes to a physical device.
width and height can be adjusted


Reported by olikraus on 2012-01-04 23:17:09

rotation --> C++ api

Originally reported on Google Code with ID 16

put the rotation commands into the C++ API

Reported by olikraus on 2012-01-06 20:47:46

howto: create new devices

Originally reported on Google Code with ID 15

... including com api reference

Reported by olikraus on 2012-01-06 19:36:06

Devices: A0 = RS = DI

Originally reported on Google Code with ID 24

descrbe this on the wiki page

Reported by olikraus on 2012-01-22 10:51:58

setPrintPos / print

Originally reported on Google Code with ID 37

documentation required

Reported by olikraus on 2012-02-08 06:00:57

write tutorial on the picture loop

Originally reported on Google Code with ID 14

write some nice tutorial/introduction to the picture loop

Reported by olikraus on 2012-01-06 19:35:14

NHD 2Bit graylevel device

Originally reported on Google Code with ID 11

create graylevel device for the NHD OLED, maybe copy from DOGXL160

Reported by olikraus on 2012-01-06 19:28:20

LC7981 160X80 Monochrom LCD

Originally reported on Google Code with ID 42

http://arduino.cc/forum/index.php/topic,91486.0.html

Status: Implemented, wait for check

Reported by olikraus on 2012-02-13 16:21:03

implement contrast feature for PCD8544

Originally reported on Google Code with ID 49

sequence:
  0x021   enter extended command set (H=1) */
  0x080 | constrast (contrast has 7 bit)


Reported by olikraus on 2012-03-03 21:06:40

add U8G_NOCOMMON to fonts

Originally reported on Google Code with ID 13

Add the gcc attribute to the fonts, merge fonts and check if this one merged font works.
This could be a big speed improvement.

Reported by olikraus on 2012-01-06 19:32:18

HeightXText

Originally reported on Google Code with ID 23

add new ascent/descent for '(' and '{' 
--> XText Height

also:
GetWidth(u8g, str)
GetXOffset(u8g, char)


Reported by olikraus on 2012-01-21 22:46:00

lm6059

Originally reported on Google Code with ID 25

finish device (adafruit display) for C/C++

Reported by olikraus on 2012-01-22 20:20:11

ST7920 SPI mode

Originally reported on Google Code with ID 26

from the dfrobot example, fix current SPI interface


void WriteCommand(int CMD)
{
   int H_data,L_data;
   H_data = CMD;
   H_data &= 0xf0;           //ÆÁ±ÎµÍ4λµÄÊý¾Ý
   L_data = CMD;             //xxxx0000¸ñʽ
   L_data &= 0x0f;           //ÆÁ±Î¸ß4λµÄÊý¾Ý
   L_data <<= 4;             //xxxx0000¸ñʽ
   WriteByte(0xf8);          //RS=0£¬Ð´ÈëµÄÊÇÖ¸Á
   WriteByte(H_data);
   WriteByte(L_data);
}


void WriteData(int CMD)
{
   int H_data,L_data;
   H_data = CMD;
   H_data &= 0xf0;           //ÆÁ±ÎµÍ4λµÄÊý¾Ý
   L_data = CMD;             //xxxx0000¸ñʽ
   L_data &= 0x0f;           //ÆÁ±Î¸ß4λµÄÊý¾Ý
   L_data <<= 4;             //xxxx0000¸ñʽ
   WriteByte(0xfa);          //RS=1£¬Ð´ÈëµÄÊÇÊý¾Ý
   WriteByte(H_data);
   WriteByte(L_data);
}

Reported by olikraus on 2012-01-24 11:12:21

check and support ChipKit

Originally reported on Google Code with ID 39

probably needs some changes in the low level drivers

Reported by olikraus on 2012-02-11 07:03:45

finish dogxl160 bw mode

Originally reported on Google Code with ID 9

need to convert the page to the dogmxl160 format for transmit

Reported by olikraus on 2012-01-04 11:25:45

WriteSequence with Delay instruction

Originally reported on Google Code with ID 3

extend the write sequence procedure with delay commands

Reported by olikraus on 2011-12-19 07:50:22

S6B0723 Monochrom LCD

Originally reported on Google Code with ID 41

http://arduino.cc/forum/index.php/topic,91086.msg683737.html#msg683737

Reported by olikraus on 2012-02-13 16:18:16

better support for the F() macro

Originally reported on Google Code with ID 38

http://arduino.cc/forum/index.php/topic,91314.0.html

prototype must be:
size_t print(const __FlashStringHelper *);

Reported by olikraus on 2012-02-11 05:36:10

NHD 192x32 SPI mode

Originally reported on Google Code with ID 28

http://www.newhavendisplay.com/forum/viewtopic.php?f=8&t=1872

Reported by olikraus on 2012-01-24 20:18:08

Write ESC Seq: Reset cmd

Originally reported on Google Code with ID 6

U8G_ESC_RST(dly)
issue a low active reset pulse of the specified length in (milliseconds + 1)*16


Reported by olikraus on 2011-12-22 21:56:47

inherit print class

Originally reported on Google Code with ID 30

in order to support the print commands

Reported by olikraus on 2012-01-27 16:35:38

ILI9163C (sdt018atft) 128x160 TFT

Originally reported on Google Code with ID 46

Display: sdt018atft

http://www.displaytech-us.com/1-8-inch-tft
http://www.displaytech-us.com/sites/default/files/display-data-sheet/SDT018ATFT-v10.pdf

Controller: ILI9163C
http://www.displaytech-us.com/sites/default/files/driver-ic-data-sheet/ILI9163C_DS_V010_2011_0118.pdf

void    main_init()
{
          write_cmd(0x01);
 ¡@¡@¡@  delay(100);//delay 100ms
       write_cmd(0x11);  //Exit Sleep   
        delay(100);

       write_cmd(0x3A);  //Set Interface Pixel
  ¡@¡@ write_index(0x66);//18bit RGB IF    
¡@¡@¡@delay(100);
        write_cmd(0x26);    //Set Default Gamma
        write_index(0x04);

        write_cmd(0xf2);     //E0h & E1h Enable/Disable
        write_index(0x01);
        write_cmd(0xE0);    
        write_index(0x3F);
        write_index(0x25);
        write_index(0x1C);
        write_index(0x1E);
        write_index(0x20);
        write_index(0x12);
write_index(0x2A);
        write_index(0x90);
        write_index(0x24);
        write_index(0x11);
write_index(0x00);
        write_index(0x00);
        write_index(0x00);
        write_index(0x00);
write_index(0x00);

        write_cmd(0xE1);    //Negative Gamma Setting
        write_index(0x20);
    write_index(0x20);
        write_index(0x20);
        write_index(0x20);
        write_index(0x05);
        write_index(0x00);
        write_index(0x15);
        write_index(0xA7);
        write_index(0x3D);
        write_index(0x18);
        write_index(0x25);
        write_index(0x2A);
        write_index(0x2B);
        write_index(0x2B);
write_index(0x3A);



        write_cmd(0xB1);   
        write_index(0x08);//08
         write_index(0x08);//14
        write_cmd(0xc0);     //Set VRH1[4:0] & VC[2:0] for VCI1 & GVDD
         write_index(0x14); //0A 
        write_index(0x02);
        write_cmd(0xC1);    //Set BT[2:0] for AVDD & VCL & VGH & VGL
        write_index(0x02);

        write_cmd(0xC5);     //Set VMH[6:0] & VML[6:0] for VOMH & VCOML
        write_index(0x1d);   //1a
        write_index(0x4a);  //4a
        write_cmd(0xC7);     //Set VMH[6:0] & VML[6:0] for VOMH & VCOML
        write_index(0xCa);   //d0   modify the fliker

        write_cmd(0x2A);     //Set Column Address
        write_index(0x00);
        write_index(0x00);
        write_index(0x00);
        write_index(0x7F);
        write_cmd(0x2B);     //Set Page Address
        write_index(0x00);
        write_index(0x00);
        write_index(0x00);
        write_index(0x9F);
        write_cmd(0xEC);   
        write_index(0x0C);
        write_cmd(0x36);   //Set Scanning Direction
        write_index(0xC8);
        write_cmd(0x29);   // Display On   
        write_cmd(0x2c);  //WRITE ram Data display 
     delay(100);
}


Reported by olikraus on 2012-02-15 22:13:40

replace calls to GetHeight/WidthLL

Originally reported on Google Code with ID 4

What steps will reproduce the problem?
execute gprof (spacetrash sdl) with rot90 or rot270

What is the expected output? What do you see instead?
GetHeightLL GetWidthLL is called very often

Please use labels and text to provide additional information.
--> this can be simplified



Reported by olikraus on 2011-12-21 19:08:33

Spaces don't maintain character width

Originally reported on Google Code with ID 48

What steps will reproduce the problem?
1. u8g_drawStr(x,y,"12 34");
2. u8g_drawStr(x,y+dy,"56  7");

What is the expected output? What do you see instead?
I expect to see the 4 and 7 line up. Instead the 7 is 2 pixels off (to the left).

What version of the product are you using? On what operating system?
I'm on Windows 7, using arduino-0022, and v0.13 of u8glib.

Please provide any additional information below.


Reported by bjthom on 2012-02-28 01:37:00

add some more fonts

Originally reported on Google Code with ID 1

http://cgit.freedesktop.org/xorg/font/

maybe adobe 75dpi or 100dpi 
copyright seems to be ok

Reported by olikraus on 2011-12-18 08:15:02

getLineSpacing

Originally reported on Google Code with ID 33

implement getLineSpaceing
--> introduce variable, which gets recaculate if the ascent/descent changes
--> update procedure


Reported by olikraus on 2012-01-30 08:20:44

font: reference point calculation

Originally reported on Google Code with ID 21

finish reference point calculation code / add documentation

Reported by olikraus on 2012-01-15 20:03:36

undoRotation

Originally reported on Google Code with ID 35

- documentation
- add example pde to the release

Reported by olikraus on 2012-02-01 05:57:20

KS0108 C++ Interface

Originally reported on Google Code with ID 12

need to had KS0108 C++ Interface

Reported by olikraus on 2012-01-06 19:28:55

ST7715 262K TFT

Originally reported on Google Code with ID 44

http://www.mikrocontroller.net/topic/173855
128x128 display

Reported by olikraus on 2012-02-14 21:16:42

devices table inside wiki

Originally reported on Google Code with ID 43

LM6059 has wrong constructor name

Reported by olikraus on 2012-02-13 21:58:16

FPS measure

Originally reported on Google Code with ID 29

http://arduino.cc/forum/index.php/topic,87474.30.html

a) render a full display bitmap
b) clear the display (might be done in s/w or by the module itself)
c) turning on all pixels, one pixel at a time.
   (might even want to do two of these as painting horizontally might be different
than vertically)
d) render a full display of text in a natural font size like 6x8 or 8x8
 (maybe pick a single character like '@' so that everyone is rendering the same character).


Reported by olikraus on 2012-01-24 23:47:11

xbm support

Originally reported on Google Code with ID 32

add drawXBMP
width should be the real pixel width
bit order reversed

Reported by olikraus on 2012-01-29 06:40:51

Contrast/Brightness

Originally reported on Google Code with ID 7


Implement a contrast (LCD) or Brightness (OLED) command, 
Implement API Command and driver message


Reported by olikraus on 2011-12-31 07:54:10

ST7687

Originally reported on Google Code with ID 40

Support color LCD with st7687 controller

Reported by olikraus on 2012-02-13 11:02:09

u8g_IsBBXIntersection for u8g_rect.c

Originally reported on Google Code with ID 34

it seems that there are some calls to u8g_IsBBXIntersection missing in u8g_rec.c
--> should be added

Reported by olikraus on 2012-01-31 10:15:21

u8g_dev_st7920_128x64 memory transfer

Originally reported on Google Code with ID 27

n the device "u8g_dev_st7920_128x64" the current code is:
[code]
    u8g_WriteByte(u8g, dev, 0x080 | y );      /* y pos  */
    u8g_WriteByte(u8g, dev, 0x080  );      /* set x pos to 0*/
[/code]
this must be changed to:
[code]
    if ( y < 32 )
    {
        u8g_WriteByte(u8g, dev, 0x080 | y );      /* y pos  */
        u8g_WriteByte(u8g, dev, 0x080  );      /* set x pos to 0*/
    }
    else
    {
        u8g_WriteByte(u8g, dev, 0x080 | (y-32) );      /* y pos  */
        u8g_WriteByte(u8g, dev, 0x080 | 4);      /* set x pos to 64*/
    }
[/code]

Reported by olikraus on 2012-01-24 11:46:48

DrawGlyph90, 180, 270

Originally reported on Google Code with ID 36

similiar implementation as for DrawGlyph.
Important all procedures should support the href calculation

Reported by olikraus on 2012-02-01 22:06:02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.