Digole
©DIGITAL
SOLUTIONS

Serial Display emulator    New Display User manual

Forum login or
Login:
Password:
  
Forum Catagory
Digole Serial Display (210)
  12864 LCD/OLED module (23)
  24064 LCD module (3)
  Color LCD Modules (29)
  Color OLED module (20)
  Online Emulater (5)
  Universal GLCD module (1)
  Universal Text LCD module (2)
Mini Display Panels (0)
  Mini LCDs (0)
  Mini OLEDs (0)
Pattern Drive Module (0)
~Buy & Sell on Digole (2)
~Others~ (5)
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Problem switching to 2.6in V3.3 display SPI Mode

I had a 1.8in display running v2.x in SPI mode successully using library control of data, clk, and ss.

I used the exact same hardware configuration and software to attempt to run a 2.8in V3.3 display.

I was able to turn off  the welcome screen and config version, but all I am left with is a blank screen.

No example in the library will run at all.

Any suggestions?

RE:Problem switching to 2.6in V3.3 display SPI Mode

 Please redownload the new Arduino lib if you are using Arduino and make a little bit change on your code according to this topic:

http://www.digole.com/forum.php?topicID=486

The SPI mode was set to 2 in V3.3 by accidently (known bug recently).

RE:Problem switching to 2.6in V3.3 display SPI Mode

I downloaded the "new: library as suggested. The results follow, I will continue this in the new library post you suggested.

With Arduino Pro Mini 16Mhz 5V  IDE1.6.7 and 2.8in display SPI on pins 8,9,10

Not one example works all from this library

ColorGraphicLCDAdapaterDemo

GraphicLCDAdapaterDemo

Test_All_Function

Test_Draw_Window

No change ifI try IDE 1.6.0

The following does not work:

#include <Wire.h>
#define _Digole_Serial_SPI_
#include <DigoleSerial.h>
DigoleSerialDisp mydisp( 8,9,10 );

int last_ticks=0;
unsigned long last_sample_time=0;
unsigned long t_distance;
float l_speed=0;
uint8_t g1_x,g1_y,g2_x,g2_y,g3_x,g3_y;
uint8_t g2t,g3t;
uint8_t speed_tmp;
int graph_i=0;

void setup() {
    delay(3000);
    mydisp.begin();
    delay(2000);
    mydisp.clearScreen(); //CLear screen
    mydisp.setPrintPos(0, 7, _TEXT_);
    mydisp.print("Volts=12");
    mydisp.setPrintPos(0, 8, _TEXT_);
    mydisp.print("Distance=0");
    mydisp.setPrintPos(0, 9, _TEXT_);
    mydisp.print("Rcdr ");
    mydisp.setMode('C'); //set graphic Drawing Mode to COPY
    mydisp.setColor(0x1F);
    mydisp.drawHLine(0, 30, 159); //draw horizontal Line
    mydisp.setColor(0xE0);
    mydisp.drawHLine(0, 60, 159); //draw horizontal Line
    mydisp.setColor(0x0F);
    mydisp.drawHLine(0, 90, 159); //draw horizontal Line
}
void loop() {
   delay(10);
}

Graphics in particular seems broken.

Please help.

 

RE:Problem switching to 2.6in V3.3 display SPI Mode

Very sorry dear, there is a bug in Arduino Lib, please re-download the Arduino lib, then it should work.

Also, please add the following line as 1st line in your code:

#define Ver 33           //if the version of firmware on display is V3.3 and newer, use it
 
Copyright Digole Digital Solutions/Digole Technologies Inc., 2008-2024. All rights reserved.
Powered by Digole