--_002_201146171755089184techmanPC_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable :: Sounds like a proper "How To" page needs to :: be written if/when it's working If your German is adequate, this blog page might help, unfortunately the=20 only person who seems to have succeeded wants to charge for his code. http://www.mikrocontroller.net/topic/75589 A question (initialisation not working): Genau so sieht es bei mir auch aus. Ich finde das ziemlich fies, dass man nicht vom Display lesen kann, nicht mal den Status, so wei? ich nicht einmal wo das Problem liegt. Vielleicht nur eine kleine Leitung falsch? Man wei? es leider nicht... Aber wenn ich mir wenigstens beim Code sicher sein k?nnte, w?re das schon mal ein Fortschritt! Meine Initialisierung: ------------------------------------------------------------------------ Reset HIGH 200ms warten Reset LOW ------------------------------------------------------------------------ spi_master_send_char(0x40); // Display start line 0 spi_master_send_char(0xA1); // ADC reverse spi_master_send_char(0xC0); // Normal COM0~COM63 spi_master_send_char(0xA6); // Display normal spi_master_send_char(0xA2); // Set bias 1/9 (Duty 1/65) spi_master_send_char(0x2F); // Booster, Regulator and Follower on spi_master_send_char(0xF8); // Set internal Booster to 4x spi_master_send_char(0x00); spi_master_send_char(0x27); // Contrast set spi_master_send_char(0x81); spi_master_send_char(0x16); spi_master_send_char(0xAC); // No indicator spi_master_send_char(0x00); spi_master_send_char(0xAF); // Display on ------------------------------------------------------------------------ Die spi_master_send_char(unsigned char) sieht so aus: void spi_master_send_char (unsigned char c) { SPDR =3D c; // sende Zeichen while (!(SPSR & (1< 0b111 =3D 0x07) lcd_spi_write( ST7565R_V0_VOLTAGE_REG_INT_RES_RAT_SET | 0x07 ); =20 // Electronic volume lcd_contrast_intern( LCD_CONTRAST_DEFAULT ); =20 // static indicator off lcd_spi_write( ST7565R_STATIC_INDICATOR_OFF ); lcd_spi_write( ST7565R_STATIC_INDICATOR_REGISTER_OFF ); // display on lcd_spi_write( ST7565R_DISPLAY_ON ); lcd_rs_data(); lcd_cs_unselect(); } Colin -- cdb, colin@btech-online.co.uk on 6/04/2011 =20 Web presence: www.btech-online.co.uk =20 =20 Hosted by: www.justhost.com.au =20 =20 =20 =20 --_002_201146171755089184techmanPC_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Wed, 06 Apr 2011 00:23:56 GMT"; modification-date="Wed, 06 Apr 2011 00:23:56 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_002_201146171755089184techmanPC_-- .