Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

1.8 OLED 160x128 Color-Display show always Config-Line

 I have a 1.8 OLED color display 160128 v3.4. I connect the display with SPI (8,9,10). SPI mode always displays mode 0 and can not change. The display always starts white-red-green-blue with a fullscreen color change. Then the config line is displayed. I can not turn off the ConfigData. The command 'mydisp.displayConfig (0);' has no effect. Similarly, the command 'mydisp.displayStartScreen (1) or (0);' has no effect. My program will start after approximately 20 seconds. What can I do to start the program immediately?

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 Try to run our sample code, if the sample code working, please check the setting and initilization in your code.

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 The sample code works, but only after a few Skunden. Setting and Initialisation is correct, yes has previously also worked well. I've written several programs for the display. The effect has occurred suddenly.

 
#define _Digole_Serial_SPI_
#define Ver 34  //if the version of firmware on display is V3.3 and newer, use this
#include <DigoleSerial.h>
 
//--------SPI setup
#if defined(_Digole_Serial_SPI_)
DigoleSerialDisp mydisp(8,9,10);  //SPI:Pin 8: data, 9:clock, 10: SS, you can assign 255 to SS, and hard ground SS pin on module
#endif
 
void setup() {  
   mydisp.begin(); //initiate serial display port
   delay(300);
   mydisp.setSPIMode(0); //set SPI mode in V3.4, the available mode are 0,1,2,3
   mydisp.setBgColor(0); //set another back ground color
   mydisp.displayStartScreen(0);  //disable StartScreen
   mydisp.displayConfig(0);       //disable ConfigScreen
   mydisp.setMode('C');
}

RE:1.8 OLED 160x128 Color-Display show always Config-Line

The sketch looks good, you only need to run "displayStartScreen(0);" and "displayConfig(0);" one time, the moudle will remember these config, and it will not show the welcome screen and config on next power on.

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 I have the two lines already uncommented. The config line is still displayed.

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 Could you try UART or I2C mode? there may be some timing issue with SPI on your application.

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 To test it would be possible. But not in my project. UART is occupied by a GPS module and I2C by an RTC module.

RE:1.8 OLED 160x128 Color-Display show always Config-Line

 juhuuu, I now have all switched to i2c. The first sketch upload I said two lines enabled. The second upload with deactivated lines it worked. BINGO. Thanks for the hint.

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun