Git Product home page Git Product logo

ucglib's Introduction

ucglib's People

Contributors

basilfx avatar eku avatar fornellas 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

ucglib's Issues

ILI9341 + draw box + rotate180

with rotate180 and 270 there is an error in the graphcis demo/gradient box
the first line of the little green box is wrong


Original issue reported on code.google.com by [email protected] on 8 Feb 2014 at 3:50

ucg_dev_ic contains wrong cmd/data sequence command

The wong code is this:
const ucg_pgm_uint8_t ucg_ssd1331_set_pos_dir0_seq[] =
{
UCG_CS(0), /* enable chip /
UCG_C10(0x015), UCG_VARX(0,0x0ff, 0), UCG_D1(0x07f), /
set x position /
UCG_C10(0x075), UCG_VARY(0,0x0ff, 0), UCG_VARY(0,0x0ff, 0), /
set y position /
UCG_DATA(), /
change to data mode */
UCG_END()
};

Correct code should be:
const ucg_pgm_uint8_t ucg_ssd1331_set_pos_dir0_seq[] =
{
UCG_CS(0), /* enable chip /
UCG_C10(0x015), UCG_VARX(0,0x0ff, 0), UCG_A1(0x07f), /
set x position /
UCG_C10(0x075), UCG_VARY(0,0x0ff, 0), UCG_VARY(0,0x0ff, 0), /
set y position /
UCG_DATA(), /
change to data mode */
UCG_END()
};

  • ucg_dev_ic_ili9163.c
  • ucg_dev_ic_ili9325_spi.c
  • ucg_dev_ic_ld50t6160.c
  • ucg_dev_ic_ssd1289.c
  • ucg_dev_ic_ssd1351.c
  • ucg_dev_ic_ili9325.c
  • ucg_dev_ic_ili9341.c
  • ucg_dev_ic_pcf8833.c
  • ucg_dev_ic_ssd1331.c --> fixed & tested
  • ucg_dev_ic_st7735.c

Some speed optimization might be possible: CD line is set too often here

Add support for SSD1289 displays

If you could add support for SSD1289 displays then that would be HUGELY 
appreciated. They're so inexpensive at the moment 
(http://www.banggood.com/3_2-Inch-SSD1289-TFT-LCD-Display-Module-Touch-Panel-For
-Arduino-p-918609.html) and they could open up a world of possibilities for 
Arduino projects!

Original issue reported on code.google.com by [email protected] on 17 Oct 2014 at 8:26

fast zero

introduce a message to do fast zero transfer


Original issue reported on code.google.com by [email protected] on 13 Feb 2014 at 8:29

SSD1351 device


Ucglogo rot90 does not work. Looks like not all directions of the line are 
working

Original issue reported on code.google.com by [email protected] on 2 Feb 2014 at 8:20

RGB Line

Implement RGB output (L90RGB)
Intended for bitmap output

Original issue reported on code.google.com by [email protected] on 9 Mar 2014 at 10:29

Arduino Library Specification


Create Arduino compatible u8glib library
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification


Publish ucglib:
https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ
https://github.com/arduino/Arduino/issues


Original issue reported on code.google.com by [email protected] on 11 Sep 2014 at 5:00

HY28 SPI source


http://forum.arduino.cc/index.php?topic=210474.msg1864100

add support for HY28?

Original issue reported on code.google.com by [email protected] on 1 Sep 2014 at 8:12

Font mode solid is not working with rotation.


http://forum.arduino.cc/index.php?topic=214966.30#msg1825113

void loop(void)
{
  ucg.setRotate90();
  ucg.setFont(ucg_font_ncenB24r);
  ucg.setColor(1, 255, 255, 255);   //  text background color

  ucg.setColor(255, 0, 0);    //  red
  ucg.setPrintPos(0,25);
  ucg.print("Hello World!");

  ucg.setRotate270();
  ucg.setColor(0, 0, 255);   //  blue
  ucg.setPrintPos(0, 75);
  ucg.print("Hello World!");

  delay(500);  
}

the rotate270 is not working with font mode solid.

Original issue reported on code.google.com by [email protected] on 31 Jul 2014 at 6:54

getStrWidth()

... is missing in the c++ interface.
C interface: ucg_int_t ucg_GetStrWidth(ucg_t *ucg, const char *s);



Original issue reported on code.google.com by [email protected] on 17 Apr 2014 at 5:37

SEPS114A/USMP-P19801 Support

Would like to have this display supported by a proper Arduino graphics library.

Example initialization code, attempted for U8Glib: http://pastebin.com/6NLW4hiK

Merging this into a format similar to 'ucg_ft_ssd1351_init_seq' would seem to 
be an appropriate starting point.

Original issue reported on code.google.com by [email protected] on 20 Jan 2015 at 6:47

Documentation: Supporting new devices.

Reference to a callback function (ucg_com_my_own_hal), independent of *_ilsoft 
function (ucg_dev_ssd1351_18x128x128_ilsoft), is made at 
http://code.google.com/p/ucglib/wiki/hal . However, no corresponding function 
is obvious in the codebase at present. Rather, the documented functionality 
seems implemented by the *_ilsoft function.

A related function, ucg_ext_ssd1351_18(), has been discovered to address only 
msg == UCG_MSG_DRAW_L90SE . This functionality does not seem critical, and may 
have previously been handled by ucg_dev_ssd1351_18x128x128_ilsoft() through 
ucg_dev_ic_ssd1351_18() .

Ultimately, the important function/procedure calls seem to take place in the 
following order, by example:
Ucglib4WireHWSPI --> Ucglib_SSD1351_18x128x128_HWSPI (Ucglib.h declaration) --> 
ucg_dev_ssd1351_18x128x128_ilsoft (ucg_dev_oled_128x128_ilsoft.c definition)

In other words, for device SSD1351, all essential hardware-abstraction-layer 
callback functionality seems handled by ucg_dev_ssd1351_18x128x128_ilsoft.

Original issue reported on code.google.com by [email protected] on 20 Jan 2015 at 11:13

generate pdf doc

check if pandoc can be used.
Maybe google wiki is readable as textile, then convert to pdf

Original issue reported on code.google.com by [email protected] on 25 Feb 2014 at 6:17

improve sw spi speed


In the procedure
static int16_t ucg_com_arduino_generic_SW_SPI(ucg_t *ucg, int16_t msg, uint16_t 
arg, uint8_t *data)

the call to

  ucg_com_arduino_init_shift_out(ucg->pin_list[UCG_PIN_SDA], 

could be done during powerup and CD 


Original issue reported on code.google.com by [email protected] on 26 Feb 2014 at 7:28

ILI9163 TFT



https://github.com/sumotoy/TFT_ILI9163C

128x128 / 128x160
Nokia replacement

http://www.ebay.com/itm/LCD-1-44-Red-Serial-128X128-SPI-Color-TFT-LCD-Display-Mo
dule-for-Nokia-5110/181337032247

Original issue reported on code.google.com by [email protected] on 25 May 2014 at 8:10

missing API procedures

the following API/member function do not have a documentation:
ucg_t *getUcg(void) 
void setFontMode(ucg_font_mode_fnptr font_mode) 
void undoScale(void)
void setScale2x2(void)
void setMaxClipRange(void)
void drawDisc(ucg_int_t x0, ucg_int_t y0, ucg_int_t rad, uint8_t option) 
void drawCircle(ucg_int_t x0, ucg_int_t y0, ucg_int_t rad, uint8_t option)
void drawTetragon(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, 
int16_t y2, int16_t x3, int16_t y3) 



Original issue reported on code.google.com by [email protected] on 9 Mar 2014 at 4:17

Fast data transfer with C/D info

array with alternate entries
cd_info
data
cd_info
data
...
cd_info
data
cd_info

cd_info == 0
   no change
cd_info == 1
   change cd line to 0
cd_info == 2
   change cd line to 1

sequence must end in cd_info and this cd_info must be none-zero.

Introduce new message for this.




Original issue reported on code.google.com by [email protected] on 13 Jan 2014 at 9:39

support 1.5" oled (SEPS225) controller

128x128 display
ebay: www.ebay.com/itm/5V-Ready-SPI-1-5-Full-Color-OLED-Module-for-Arduino-AVR-PIC-STM-ARM-PI-/141641587471

http://oled.jimdo.com/2014/02/21/ug-2828gdeaf02-oled-module-for-arduino/
Display: UG-2828GDEAF02-Univision
Arduino-UG282802.rar

Open topics

  • Rename _18 to _16, because only 65K colors supported
  • Fix color settings
  • Change direction mode and simplify pixel setting
  • Somehow the color seems wrong at the edges (GraphicsTest), this should be checked
  • Power down
  • Documentation

The color problem edges seems to be a display issue. Writing a color with none zero blue component to the last line, will show something on the first line if this is also blue (probably some bits in the red component are set).
Attached a picture to this issue (see below).

Add suport for SEPS525

Can you add support for SEPS525?
NHD-1.69-160128UGC3
http://www.newhavendisplay.com/nhd169160128ugc3-p-5603.html
http://www.newhavendisplay.com/specs/NHD-1.69-160128UGC3.pdf


Original issue reported on code.google.com by [email protected] on 23 Sep 2014 at 4:55

Add support for freetronics OLED


//Ucglib_SSD1351_18x128x128_FT_SWSPI ucg(/*sclk=*/ 13, /*data=*/ 11, /*cd=*/ 9 
, /*cs=*/ 10, /*reset=*/ 8);
//Ucglib_SSD1351_18x128x128_FT_HWSPI ucg(/*cd=*/ 9 , /*cs=*/ 10, /*reset=*/ 8);

implementation almost done
testing required (see Arduino forum)

Original issue reported on code.google.com by [email protected] on 19 Apr 2014 at 9:06

colors issue 1,8'' 128x160 TFT

Everything seems work fine but colors. When i power up module white screen 
appears. To make it black i have to write rectangle with (255,255,255).

The colors seems to be inverted (but not exacly): 
(255,255,255) is black and (0,0,0) is white, red is (0,255,255) and so on.
The colors that uses half tone(not 0 or 255) -  oragne for example  are hard to 
display.

What steps will reproduce the problem?
1. nothing, just connect it and try

What is the expected output? What do you see instead?
different color than the should be;

What version of the product are you using? On what operating system?
http://www.banggood.com/1_8-Inch-Serial-SPI-TFT-LCD-Display-Module-With-Power-IC
-SD-Socket-p-909802.html

arduino mega/nano/pro mini - the same effect
windows 8.1x46 (but ot doesn't matter)


Please provide any additional information below.
Please add function to map colors propperly.
Thank You
Przemek

Original issue reported on code.google.com by [email protected] on 21 Oct 2014 at 8:42

AVR

Hi,

Does this library also work with AVR (for the ILI 9341)?

Thank you.

Best regards,

Kevin Lamers

Original issue reported on code.google.com by [email protected] on 7 Sep 2014 at 11:12

DMA SPI support for the Due


http://forum.arduino.cc/index.php?topic=265806.0
http://marekburiak.github.io/ILI9341_due/
https://github.com/marekburiak/ILI9341_due

The arduino forum post contains some speed tests. Maybe the test should be 
repeated on with ucglib first. Then add dma support if required.


Original issue reported on code.google.com by [email protected] on 10 Sep 2014 at 10:26

UCG_COM_MSG_SEND_CD_DATA_SEQUENCE Bug

Setting of the A0/RS/CD line depends on the configuration, but is fixed in the 
the .cpp file
--> fixe code for message UCG_COM_MSG_SEND_CD_DATA_SEQUENCE

Original issue reported on code.google.com by [email protected] on 2 May 2014 at 11:31

drawGlyph


not in documentation. Need to check if this exists as a c++ procedure.
(Feedback from "Re: Ucglib: A new Color OLED and TFT Library...")

Original issue reported on code.google.com by [email protected] on 11 Jun 2014 at 4:40

Color precalculation SEPS225 and PCF8833

Optimize color calculation. Maybe add a message for post color optimization, once a color has been set.
Important for SEPS225 and PCF8833. But also all other display may benefit from this.

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.