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.