Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 97
61  Using Arduino / Displays / Re: Problem with SSD1306 LCD and U8glib on: June 28, 2014, 11:03:13 am
I am glad to read, that the avr release works. For the final release, the avr version also undergoes some release testing.

Oliver
62  Using Arduino / Displays / Re: Problem with SSD1306 LCD and U8glib on: June 27, 2014, 10:55:39 am
I have attached snapshots of the current repository for Arduino and AVR. Not tested, just development releases.

Oliver
63  International / Deutsch / Re: Sonnen- Stand und Position berechnen on: June 26, 2014, 02:40:49 pm
denkbar...  smiley-eek-blue
64  International / Deutsch / Re: Sonnen- Stand und Position berechnen on: June 26, 2014, 01:20:45 pm
Nicht schlecht. Obwohl ich lange gesucht habe, ist mir diese Seite noch nicht aufgefallen (K+).

Oliver
65  Using Arduino / Displays / Re: Arduino Micro and NHD27OLED display on: June 25, 2014, 01:13:42 pm
Thanks for reporting. Good to see that SW SPI is working.

Oliver
66  Using Arduino / Displays / Re: OLED display with 4-wire SPI mode, but without CS on: June 25, 2014, 01:11:29 pm
Yes, then, let me know where i can buy the new model.

Oliver
67  Using Arduino / Displays / Re: Multiple OLED SSD1306 Displays using 2IC on: June 25, 2014, 01:02:22 pm
Another idea from my side would have been to call .Begin() once only.
.Begin() will not clear but display the screen for some milliseconds. This will cause the flicker.
But i am glad to see that it is working.

Oliver
68  Using Arduino / Displays / Re: Multiple OLED SSD1306 Displays using 2IC on: June 24, 2014, 04:25:52 pm
hmm ok, i did some more thinking on the problem. You might need to use the ".begin()" command before each loops for attempt 2.
Like this:

Code:
void loop(void) {
I2C_SLA = 0x3c*2;   // second display
//   I2C_SLA = 0x3d*2;   // first display
  u8g.begin();
  // picture loop
  u8g.firstPage(); 
  do {
    draw();
    } while( u8g.nextPage() );

//   I2C_SLA = 0x3c*2;   // second display
I2C_SLA = 0x3d*2;   // first display
  u8g.begin();
  // picture loop
  u8g.firstPage(); 
  do {
    draw2();
    } while( u8g.nextPage() ); 
 
  // rebuild the picture after some delay
  delay(500);
}

Will this work?

Oliver
69  Using Arduino / Displays / Re: Multiple OLED SSD1306 Displays using 2IC on: June 23, 2014, 03:37:19 pm
For u8glib, this has been discussed here:
http://forum.arduino.cc/index.php?topic=219419.30

Oliver

70  Using Arduino / Displays / Re: Problem with SSD1306 LCD and U8glib on: June 23, 2014, 03:32:44 pm
You can not change the colors. This is a bi-color OLED. Actually a Monochrome OLED, but the top view rows have a different (fixed) color.
See for example here:
http://www.ebay.com/itm/Two-Color-0-96-inch-LED-128-64-High-resolution-OLED-Display-Module-/221120509913

Oliver
71  Using Arduino / Programming Questions / Re: u8glib & oled > led driver > button reading slow on: June 23, 2014, 03:26:48 pm
Two more ideas:

1.
Using
Code:
U8GLIB_SSD1306_128X64_2X u8g(U8G_I2C_OPT_NO_ACK);
might improve speed a little bit (but will double RAM usage)

2.
In line 126 of file u8g_com_i2c.c you will find:
Code:
  TWBR = F_CPU/(2*100000)-8;
You could increase the bit frequence (currently set to 100000Hz). So, to have 120kHz use:
Code:
  TWBR = F_CPU/(2*120000)-8;

Oliver

72  Using Arduino / Displays / Re: M2tklib , more sub menus - how ? on: June 21, 2014, 12:37:52 pm
Yes, looks good. Overall, 8 Bit AVR controllers are not that fast.  smiley-sad

Oliver
73  Using Arduino / Displays / Re: M2tklib , more sub menus - how ? on: June 21, 2014, 11:52:45 am
1.
Maybe you can reduce/remove the delays in function u8g_com_arduino_fast_parallel_write of the file u8g_arduino_fast_parallel.c.

2.
Does your draw() procedure contain something else calls to m2.draw()?
Can you post draw()

Oliver
74  Using Arduino / Displays / Re: M2tklib , more sub menus - how ? on: June 21, 2014, 09:34:45 am
There is M2_LABELP, which accepts a progmem string. Also note, that you can reuse format options and complete elements. This can also save a lot or RAM and ROM.

Regarding the speed: What is your u8glib constructor? Often there is a 2x variant, which speeds up execution a lot. I do not think, that debounce is an issue. Maybe you can post the "picture loop" from u8glib.

Oliver
75  Using Arduino / Displays / Re: M2tklib , more sub menus - how ? on: June 21, 2014, 12:23:20 am
ok, thanks, i created an issue for m2tklib for this.

Oliver
Pages: 1 ... 3 4 [5] 6 7 ... 97