Show Posts
Pages: [1] 2 3 ... 83
1  Using Arduino / Displays / Re: A new Color OLED and TFT Library... on: Today at 03:29:00 pm
The controller is supported (8Bit Mode), but the module itself has not been tested.

Oliver
2  Using Arduino / Displays / Re: Problem with SSD1306 LCD and U8glib on: April 23, 2014, 01:22:16 pm
If you say similar, what are the actual differences? Maybe you can put the init code of the other code here.

Oliver
3  Using Arduino / Displays / Re: U8glib and SSD1306 I2C on: April 22, 2014, 10:36:04 pm
hmm... you could manually reset the device by calling displayWrite(). After that, resent the init code with http://code.google.com/p/u8glib/wiki/userreference#begin.Will this work?

Oliver
4  Using Arduino / Displays / Re: displaying bmp files on an st7565 on: April 22, 2014, 04:35:47 pm
I just wanted to mention another option...
Unfortunately i can not say something to the Adafruit Lib.

Oliver
5  Using Arduino / Displays / Re: displaying bmp files on an st7565 on: April 22, 2014, 03:32:59 pm
U8glib supports "in-memory" xbm files which can be exported by gimp and directly included into your code: http://code.google.com/p/u8glib/wiki/userreference#drawXBMP

Oliver
6  Using Arduino / Displays / Re: U8glib and SSD1306 I2C on: April 22, 2014, 03:29:50 pm
It seems that you made everything right and U8glib is just not working. This is bad, but possible. I do not have any of the Adafruit OLED displays here.  I have tested this controller with one of the cheap far east devices, which works fine. I know that the Adafruit had some special things in their setup code regarding an external charge pump. This might be missing in the U8glib code.

Locate file u8g_dev_ssd1306_128x64.c in your libreries folder (subfolder u8glib/utility)
In lines
172 to 176 you will find this code:
Code:
/* select one init sequence here */
//#define u8g_dev_ssd1306_128x64_init_seq u8g_dev_ssd1306_128x64_univision_init_seq
//#define u8g_dev_ssd1306_128x64_init_seq u8g_dev_ssd1306_128x64_adafruit1_init_seq
//#define u8g_dev_ssd1306_128x64_init_seq u8g_dev_ssd1306_128x64_adafruit2_init_seq
#define u8g_dev_ssd1306_128x64_init_seq u8g_dev_ssd1306_128x64_adafruit3_init_seq
Maybe you can uncomment one of the other init sequences and add a comment to the last define statement (only one define statement must be uncommented).Maybe one of the other sequences works better.

I am sorry of not beeing more helpful here. I once was told, that the adafruit3 sequence works.

Oliver

7  International / Deutsch / Re: Nokia 3510i Display on: April 22, 2014, 12:51:38 pm
Ich hab' 'mal ein bischen gegoogelt und die interne Doku der UTFT durchgelesen. Dieses Display scheint wirklich von keiner Arduino Lib unterstützt zu werden. Es scheint mir dann doch so zu sein, daß es so viele gute Farbdisplays für so wenig Geld gibt, daß sich ein Lib Autor mehr die Mühe macht das Display zu unterstützen  smiley-confuse

Das 6100 Display kann man immerhin noch auf Ebay in Form eines Arduino Shields erwerben...

Oliver


8  Using Arduino / Displays / Re: U8glib and SSD1306 I2C on: April 22, 2014, 05:24:49 am
Can you provide the exact constructor calls? Maybe you could also repeat the test with Arduino IDE 1.0.5.

Oliver
9  Using Arduino / Displays / Re: T6963C error on: April 20, 2014, 03:21:08 pm
Quote
Do you update your lib with the 128x128 LCD on your homepage too?
I have created issue 255 for this on the u8glib project page.

Quote
maybe you can support the Text-Modes too,
It would be better to extend LiquidChrystal for this. Text modes are totally different from graphics mode.

Oliver
10  Using Arduino / Displays / Re: T6963C error on: April 20, 2014, 11:39:22 am
Unfortunately i can not play AVI files on my Ubuntu machine, but FPS seems to be normal for that type of display.

Thanks a lot for reporting,
Oliver
11  Using Arduino / Displays / Re: T6963C error on: April 20, 2014, 06:23:35 am
Quote
I just made a test with only the lcd, everything else is not running, i get a speed of 5 seconds !
Did you tried to run the GraphicsTest.ino from the U8glib examples. It includes some animations. Is it as slow as your code?

Quote
is it possible to use the LCD-Text-Mode with ug8lib or does it always use the graphic-mode?
Text-Mode is not supported for the T6963. U8glib is optimized for monochrome graphics LCDs/OLEDs with SPI interface. I added support for T6963 to U8glib because all other libs did not work any more for Arduino 1.xx. Have you been able to update one of the existing libs?

Oliver
12  Using Arduino / Displays / Re: T6963C error on: April 19, 2014, 11:43:05 am
Servus

The delay is mainly caused by the calculation within the U8glib "picture loop". Move anything which is not related or required for drawing outside the loop:

Currently it looks like this in your code:
Code:
  u8g.firstPage(); 
    do {
    main_screen();
    draw();
  volt = map(analogRead(7),0,1023,0,3366);
  amp = map(analogRead(6),513,1023,0,5000);
  watt = ((volt) * (amp));
  tasten();
  temperatur();
  }
  while( u8g.nextPage() );
Instead, do this:
Code:
  volt = map(analogRead(7),0,1023,0,3366);
  amp = map(analogRead(6),513,1023,0,5000);
  watt = ((volt) * (amp));
  tasten();
  u8g.firstPage(); 
    do {
    main_screen();
    draw();
  temperatur();
  }
  while( u8g.nextPage() );

More optimization is possible within "temperatur()".

Oliver
13  Using Arduino / Displays / Re: T6963C error on: April 19, 2014, 07:21:44 am
U8glib does not directly support a 128x128 display. How did you made it work with your display?
U8glib should be also faster. But without code and actual wiring it is difficult to say anything.

Unfortunately i can not say anything to your other lib.

Oliver
14  Using Arduino / Displays / Re: A new Color OLED and TFT Library... on: April 19, 2014, 07:12:56 am
The freetronics OLED requires the internal GPIOs to be set to high output level. I have added a new constructor
Code:
//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);
to the attached prerelease.
Please let me know if this works.

Thanks, Oliver

15  International / Deutsch / Re: Problem mit GLCD on: April 18, 2014, 12:19:45 pm
Quote
Wenn ich das jetzt richig verstanden habe schaltet der Code die CS1 und CS2 Pins.
Genau, das sollte er tun.

Oliver
Pages: [1] 2 3 ... 83