Coder Social home page Coder Social logo

gleox / u8glib Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 13.52 MB

Automatically exported from code.google.com/p/u8glib

License: Other

C++ 2.79% C 92.44% Shell 0.01% Makefile 0.96% Objective-C 0.01% Processing 2.51% Assembly 0.31% Gnuplot 0.13% Batchfile 0.86%

u8glib's People

Contributors

jmenges avatar

Watchers

 avatar

u8glib's Issues

Contrast/Brightness


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


Original issue reported on code.google.com by [email protected] on 31 Dec 2011 at 7:54

  • Merged into: #47

ST7715 262K TFT

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

Original issue reported on code.google.com by [email protected] on 14 Feb 2012 at 9:16

add U8G_NOCOMMON to fonts

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

Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 7:32

ILI9163C (sdt018atft) 128x160 TFT

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);
}


Original issue reported on code.google.com by [email protected] on 15 Feb 2012 at 10:13

Write ESC Seq: Reset cmd

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


Original issue reported on code.google.com by [email protected] on 22 Dec 2011 at 9:56

undoRotation

- documentation
- add example pde to the release

Original issue reported on code.google.com by [email protected] on 1 Feb 2012 at 5:57

u8g_dev_st7920_128x64 memory transfer

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]

Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 11:46

DrawGlyph90, 180, 270

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

Original issue reported on code.google.com by [email protected] on 1 Feb 2012 at 10:06

lm6059

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

Original issue reported on code.google.com by [email protected] on 22 Jan 2012 at 8:20

clipping

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


Original issue reported on code.google.com by [email protected] on 4 Jan 2012 at 11:17

HeightXText

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

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


Original issue reported on code.google.com by [email protected] on 21 Jan 2012 at 10:46

xbm support

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

Original issue reported on code.google.com by [email protected] on 29 Jan 2012 at 6:40

replace calls to GetHeight/WidthLL

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



Original issue reported on code.google.com by [email protected] on 21 Dec 2011 at 7:08

ST7687

Support color LCD with st7687 controller

Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 11:02

Spaces don't maintain character width

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.


Original issue reported on code.google.com by [email protected] on 28 Feb 2012 at 1:37

ST7920 SPI mode

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);
}

Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 11:12

add some more fonts

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

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

Original issue reported on code.google.com by [email protected] on 18 Dec 2011 at 8:15

FPS measure

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).


Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 11:47

getLineSpacing

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


Original issue reported on code.google.com by [email protected] on 30 Jan 2012 at 8:20

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.