Go Down

Topic: Mega 2560 + GD3 LIb = FT811 (Read 279 times) previous topic - next topic

tofumax

HI

I have nice projekt on

Leonardo

5 inch TFT -FT811

but I fill memory on leonardo on Full --Yes it Works Code is very simple

Now I Would like to move on mega 2560

And I stuc


I conect only mega by USB and

od "hellow word sample add to serial print some random A1 values "


after


GD.begin (); 

mega  STOPS  ?


Quote
#include <SPI.h>
#include <GD3.h>
#include <OneWire.h>
#include <DS18B20.h>   
#include <max6675.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include <EEPROM.h>

#define PDPin 23


void setup()
{
  Serial.begin(9600);
  pinMode(PDPin, OUTPUT);
  digitalWrite(PDPin, HIGH);
  delay(10);

  digitalWrite(PDPin, LOW);
  delay(10);
  digitalWrite(PDPin, HIGH);
  delay(10);
 GD.begin();





}

void loop()
{

 int kon0 = analogRead(A5);
 Serial.println(kon0);
  //GD.ClearColorRGB(0x300000);
  //GD.Clear();
  //GD.cmd_text(GD.w / 2, GD.h / 2, 31, OPT_CENTER, "Hello world");
  //GD.swap();

 
  //GD.swap();
  delay (100);
 

}



What is the diference LEonardo /Mega  by SPI >?



lightcalamar

Mi proyecto Radio FM con RDS -  MDC v1.0;
https://forum.arduino.cc/index.php?topic=400484.0
https://forum.arduino.cc/index.php?topic=448606.0
https://github.com/lightcalamar

tofumax

which Ardiuno IDE you was using ?

tofumax

Thanks I alredy saw Yours topic ..

I have 

Windows 7 64 bit

Arduino

1.0.6
1.0.5 r2
 

and

1.6.0

1.6.1

1.6.3

1.6.4

1.6.5. r5

1.6.7 ....Using and working LEONARDO


1.6.8

1.6.9

1.6.13.

1.8 ....

Some won"t  even "compile ".. the Library ..

So I think oder problems ?

Go Up