Forum Software Ferduino code I need help

I need help


Post Number:#1 Post Sat Sep 21, 2019 2:16 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
hi to all , i have serched for help with my problem with the search mode but i haven't find nothing, then can someone help me? i have installed the ferduino code, i have make the caibration test and all, but now the display show me "please insert a sd card" i have a 3.2 tft lcd 240x400 with tft lcd mega shield and nothing else connected to arduino. i need to see the ferduino before buy the others component, because i don't want spent a lot of money and maybe stop me in the middle of the project.

Post Number:#2 Post Sat Sep 21, 2019 3:29 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Welcome Marco!

Place a SD card with capacity of 1 or 2 GB formatted as FAT on TFT and uncomment this line on code:

// #define USE_PIN_53_FOR_SD_CARD


If needed select a different speed here:

// #define SD_CARD_SPEED SPI_FULL_SPEED    // Full speed
#define SD_CARD_SPEED SPI_HALF_SPEED      // Half speed
// #define SD_CARD_SPEED SPI_QUARTER_SPEED // Quarter speed


Did you some change on TFT shield as shown here?

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#3 Post Sat Sep 21, 2019 4:32 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
uhmmmmm i make the bridge ,uncomment the line of pin 53, and change the speed of the sd but the problem still remaining. maybe i have to change the tft model driver? or upgrade the library?

Post Number:#4 Post Sat Sep 21, 2019 7:25 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

In this case the pin for SD card is 4 so uncomment ONLY this line:

// #define USE_PIN_4_FOR_SD_CARD
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#5 Post Sun Sep 22, 2019 2:25 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
today i tried again:
1) without pin 50,51,52,53 uncomment the line "use 53.." nothing
2) without pin 50,51,52,53 uncomment the line "use pin 4..." nothing
3) without pin 53 in arduino but in a bridge to 4 , "use pin 53" nothing
4) without pin 53 in arduino but in a bridge to 4 , "use pin 4" nothing
5) using all the normally pin "use 53.." nothign
6) using all the normally pin "use pin 4" nothing

the sd is formated as FAT 2 gb and inserted in the tft lcd,i ust have the arduino mega, the tft mega shiedl and the lcd 240x400, i have uncomment this line.

// Comment the line below to disable watchdog
// #define WATCHDOG // Reseta o controlador se a função "wdt_reset()" não for executada em até 8 segundos.
// Essa função minimiza problemas com o travamento do código mas, pode apresentar incompatibilidades com alguns bootloaders

// Comment the line below to disable ethernet functions
//#define ETHERNET_SHIELD // Comente esta linha para desativar as funções do ethernet shield.

// Uncomment the line bellow to use an ESP8266 as WIFI module
// #define USE_ESP8266 // Descomente esta linha para usar um ESP8266 como módulo WIFI.

// Comment this two lines below if have not stamps
// Comente as duas linhas abaixo se não tiver stamps
//#define STAMPS_V4X     // Comente esta linha para usar Stamps EZO
// #define STAMPS_EZO     // Descomente esta linha para usar Stamps EZO

// Comment the line below if you haven't a stamp for tank pH.
//#define USE_STAMP_FOR_TANK_PH // Comente esta linha se você não tem um "stamp" para o pH do aquário.

// Comment the line below if you haven't a stamp for calcium reactor.
//#define USE_STAMP_FOR_CALCIUM_REACTOR // Comente esta linha se você não tem um "stamp" para o reator de cálcio.

// Comment the line below if you haven't a stamp for ORP.
//#define USE_STAMP_FOR_ORP // Comente esta linha se você não tem um "stamp" para a ORP.

// Comment the line below if you haven't a stamp for density.
// #define USE_STAMP_FOR_DENSITY // Comente esta linha se você não tem um "stamp" para a densidade.

// Uncomment the line bellow to use a digital tilt hydrometer (iSpindel) instead EC stamp and probe.
// Descomente a linha abaixo para usar o densímetro digital (iSpindel) em vez de stamp e sonda de condutividade.
// #define TILT_HYDROMETER

// Comment this two lines below if have not RFM12B wireless transceiver
// #define RFM12B_LED_CONTROL   // Descomente esta linha para controlar os LEDs via RF
// #define RFM12B_RELAY_CONTROL // Descomente esta linha  para controlar os relês via RF

// Comente esta linha para desativar as mensagens no monitor serial ou para usar os pinos 0 e 1 (RX e TX) como OUTPUT
// Comment this line to disable the messages on serial monitor or to use pins 0 and 1 (RX e TX) as OUTPUT
#define DEBUG  // Comente esta linha para usar os pinos 0 e 1 para controle dos coolers e buzzer.

// Comment the line below to disable this function
// Comente a linha abaixo para desativar esta função
// #define DISABLE_SKIMMER // Desliga o skimmer caso o nível no compartimento esteja alto.
// Evita transbordamento do skimmer caso a bomba de retorno seja desligada

// Comment this line to enable password screen
// Comente esta linha para ativar a solicitação de senha.
// #define SKIP_PASSWORD_SCREEN // comente esta linha se deseja solicitar uma senha após o primeiro toque no TFT

// Comment this line to use static IP.
// Comente esta linha para usar IP estático
// #define USE_DHCP // Descomente esta linha para usar DHCP

// Uncomment the line below to use screensaver
// Descomente a linha abaixo para ativar o protetor de tela
// #define USE_SCREENSAVER

// Comment the line below to disable night mode for stream pumps
// Comente a linha abaixo para desativar o modo noturno para bombas de circulação.
#define NIGHT_MODE // Reduz a potência das bombas de circulação quando os LEDs estão desligados.

// Uncomment the line below to use temperature in Fahrenheit.
// #define USE_FAHRENHEIT // Descomente esta linha para usar temperatura em Fahrenheit

// Comment the line bellow if you don't want use a TFT. This function works only with IDE 1.6.7 or higher.
#define USE_TFT // Comente esta linha se você não quer usar um TFT. Estão função funciona apenas com a IDE 1.6.7 or higher.

// Change the TFT model below if needed. Normally it should work for all models with HX8352-A controller
// Altere o modelo do TFT abaixo se necessário. Nomalmente este dever funcionar para todos os modelos com controlador HX8352-A.
#define TFT_MODEL ITDB32WD

// Uncomment the line below if you are using a TFT shield.
#define USE_TFT_SHIELD // Descomente esta linha se você estiver usando um "TFT shield".

// Select the suitable speed for your SD card. Don't leave two lines uncommented here.
// Selecione a velocidade adequada para seu cartão SD. Não deixe duas linhas descomentadas aqui.
 //#define SD_CARD_SPEED SPI_FULL_SPEED    // Full speed
#define SD_CARD_SPEED SPI_HALF_SPEED      // Half speed
//#define SD_CARD_SPEED SPI_QUARTER_SPEED // Quarter speed

// Uncomment the line below if you have the  SD card on ethernet shield.
//#define USE_PIN_4_FOR_SD_CARD // Descomente esta linha se você tem o cartão SD conectado no "ethernet shield".

// Uncomment the line below if you have the  SD card on TFT
// Do not uncomment this line when using Ferduino Mega 2560
#define USE_PIN_53_FOR_SD_CARD // Descomente esta linha se você tem o cartão SD conectado no TFT. Não descomente esta linha se estiver usando um Ferduino Mega 2560

// Uncomment the line bellow if your touch screen have coordinates mirrored. So don't need change in ProcessMyTouch: x = 399-myTouch.getX () and y = 239-myTouch.getY ().
// #define INVERT_TOUCH // Descomente essa linha se seu "touch screen" tem as coordenadas espelhadas. Assim não será necessário alterar em "ProcessMyTouch": x = 399-myTouch.getX () and y = 239-myTouch.getY ().

// Uncomment the line below to enable an extra channel for lightning during the night.
// #define USE_EXTRA_CHANNEL_FOR_LIGHTNING_DURING_NIGHT // Descomente esta linha para utilizar um canal extra para relâmpagos durante a noite.

// Select the extra channel to be used for lightning during the night. 0 = white, 1 = blue, 2 = royal blue, 3 = red, 4 = UV
#define EXTRA_CHANNEL_FOR_LIGHTNING 0 // Selecione o canal extra para ser usado para relâmpagos noturnos. 0 = branco, 1 = azul, 2 = azul royal, 3 = vermelho, 4 = ultra violeta

// Define the minimum PWM value to clouds and lightning. If the current PWM is smaller than this value the effect won't be done over the channel.
// When the PWM is smaller than this value the clouds and lightnigs are considered nocturnal. So the lightning will use the extra channel if moon PWM is higher than this value.
#define MIN_PWM_NUVEM 30 // Define o valor mínimo de PWM para nuvens e relâmpagos. Se o PWM atual for menor que este valor o efeito não será executado sobre o canal.
// Quando o PWM é menor que este valor as nuvens e relâmpagos são considereados noturnos. Então o relâmpago will usar o canal extra se o PWM lua for maior que este valor.

Post Number:#6 Post Sun Sep 22, 2019 4:10 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You are not understanding what you are doing.

SD card works with SPI (pins 50, 51 and 52). So if you don't have an ethernet shield you CAN'T remove pins 50, 51 and 52.

Pins 50, 51 and 52 are only removed from TFT shield to prevent conflict between sd slot on TFT and ethernet shield.

Also if you are planning to use WiFi you should remove the bridge from pin 4 and use pins 50, 51, 52 and 53 for SD card.

Moreover you should make it work with test code first because it's more easy to debug.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#7 Post Sun Sep 22, 2019 5:33 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
i don't know how to use the test code, anyway in my previous post, i just show all the combination i have tried, i know about the ethernet shield but i wanted to try

Post Number:#8 Post Sun Sep 22, 2019 5:52 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Just install test code then open the serial monitor and select the baud rate.

As you have soldered the pins again you should make sure that there's continuity between pins and pcb trace.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#9 Post Mon Sep 23, 2019 2:02 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
i haved ceck the continuity from the pin to pcb it's seems is all ok, i try the test code "list all file on sd card" and i received this message error
exit status 1
SdFatUtil.h: No such file or directory

Post Number:#10 Post Mon Sep 23, 2019 2:42 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Example was updated copy again please.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#11 Post Thu Oct 03, 2019 8:28 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Have you solved the problem?

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#12 Post Yesterday 8:36 am
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
hi, time has passed because i had ordered a new tft shield, i'm trying now with this new shiedl but i receive the same message "please insert a sd card".
however i'm triyng the code and currently the EEPROM_to_SDcard is the only who dosen't work i think is missing the file eeprom.h because it colored with orange in the arduino ide

Post Number:#13 Post Yesterday 9:57 am
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

A test code compiled and uploaded doesn't mean that SD card works.

Give me a serial monitor output of a test code that you are thinking that works please.

Also give me pics of your hardware.

Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#14 Post Yesterday 4:59 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
https://drive.google.com/open?id=16Nwro ... GDZY6anubX

temperature sensor
Dallas Temperature IC Control Library Demo
21:20:31.583 ->
21:20:31.583 -> Locating devices...Found 0 devices.
21:20:31.618 ->
21:20:31.618 -> Parasite power is: OFF
21:20:31.653 ->
21:20:36.630 -> Requesting temperatures...DONE
21:20:41.781 -> Requesting temperatures...DONE
21:20:46.921 -> Requesting temperatures...DONE
21:20:52.053 -> Requesting temperatures...DONE
21:20:57.212 -> Requesting temperatures...DONE
21:21:02.327 -> Requesting temperatures...DONE
21:21:07.975 -> Requesting temperatures...DONE


test code for level sensor
Sensor 1: 439
21:22:40.518 ->
21:22:40.518 -> Sensor 2: 403
21:22:40.553 ->
21:22:40.553 -> Sensor 3: 402
21:22:40.553 ->
21:22:40.553 -> Sensor 4: 367
21:22:40.588 ->
21:22:40.588 -> Sensor 5: 347
21:22:40.588 ->
21:22:40.588 -> Sensor 6: 336
21:22:40.622 ->
21:22:40.622 -> *******************************
21:22:40.622 ->
21:22:45.627 -> Sensor 1: 345
21:22:45.627 ->
21:22:45.627 -> Sensor 2: 335
21:22:45.662 ->
21:22:45.662 -> Sensor 3: 353
21:22:45.662 ->
21:22:45.662 -> Sensor 4: 330
21:22:45.697 ->
21:22:45.697 -> Sensor 5: 320
21:22:45.697 ->
21:22:45.697 -> Sensor 6: 321
21:22:45.732 ->
21:22:45.732 -> *******************************
21:22:45.732 ->


Test_code_for_PCF8575
I'm alive!


Test_code_for_RTC
What would you like to do?
21:26:02.937 -> (0) To set the current time.
21:26:02.970 -> (1) To display the current time.
21:26:03.004 -> Enter 0 or 1: 218
21:26:10.556 ->
21:26:11.576 -> What would you like to do?
21:26:11.576 -> (0) To set the current time.
21:26:11.609 -> (1) To display the current time.
21:26:11.643 -> Enter 0 or 1: 228
21:26:13.100 ->
21:26:14.156 -> What would you like to do?
21:26:14.156 -> (0) To set the current time.
21:26:14.190 -> (1) To display the current time.
21:26:14.224 -> Enter 0 or 1:


Test_code_for_stamps
To communication with the stamp of PH of the tank enter: y0
21:27:26.373 -> To communication with the stamp of PH of the reactor enter: y1
21:27:26.373 -> To communication with the stamp of ORP enter: y2
21:27:26.408 -> To communication with the stamp of EC enter: y3
21:27:26.408 -> To clear the channel opened enter: 00
21:27:33.050 -> Channel for PH of the tank is opened.
21:27:33.050 ->
21:27:38.535 -> Channel for ORP is opened.
21:27:38.535 ->
21:27:42.805 -> Channel for EC is opened.
21:27:42.805 ->


TFT_and_TOUCH
in this case the screen show me a square and the number to change the value of green, red and blue

Utouch_Calibration
After do the process go to http://www.rinkydinkelectronics.com/t_cal_verify.php to check the coordinates.
21:33:20.652 -> If all is right place thi values at UtouchCD.h

with this test i have the touch calibration mode


Search_for_I2C_devices
21:35:33.702 ->
21:35:33.702 -> I2C Scanner
21:35:33.702 -> Scanning...
21:35:33.702 -> No I2C devices found
21:35:33.702 ->


Simple_LED_fade
nothing happens

Ethernet_shield_with_ENC28J60
Arduino:1.8.9 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Ethernet_shield_with_ENC28J60:1:10: error: EtherCard.h: No such file or directory

 #include <EtherCard.h>

          ^~~~~~~~~~~~~

compilation terminated.

exit status 1
EtherCard.h: No such file or directory


Ethernet_shield_with_W5100
Arduino:1.8.9 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\Gray Wolf\Downloads\code for test\Ethernet_shield_with_W5100\Ethernet_shield_with_W5100.ino: In function 'void setup()':

Ethernet_shield_with_W5100:27:41: error: call of overloaded 'begin(byte [6], IPAddress&, const byte&)' is ambiguous

  Ethernet.begin(mac, ip, SelectSlave_ETH);

                                         ^

In file included from C:\Users\Gray Wolf\Downloads\code for test\Ethernet_shield_with_W5100\Ethernet_shield_with_W5100.ino:2:0:

C:\Program Files (x86)\Arduino\libraries\Ethernet\src/Ethernet.h:82:13: note: candidate: static int EthernetClass::begin(uint8_t*, long unsigned int, long unsigned int)

  static int begin(uint8_t *mac, unsigned long timeout = 60000, unsigned long responseTimeout = 4000);

             ^~~~~

C:\Program Files (x86)\Arduino\libraries\Ethernet\src/Ethernet.h:89:14: note: candidate: static void EthernetClass::begin(uint8_t*, IPAddress, IPAddress)

  static void begin(uint8_t *mac, IPAddress ip, IPAddress dns);

              ^~~~~

C:\Users\Gray Wolf\Downloads\code for test\Ethernet_shield_with_W5100\Ethernet_shield_with_W5100.ino: In function 'void loop()':

Ethernet_shield_with_W5100:41:10: error: 'class EthernetClient' has no member named 'getRemoteIP'; did you mean 'remoteIP'?

   client.getRemoteIP(remoteIP);

          ^~~~~~~~~~~

          remoteIP

exit status 1
call of overloaded 'begin(byte [6], IPAddress&, const byte&)' is ambiguous



Create_file_on_SD_card
Can't open.


EEPROM_to_SD_card
Can't open!


sirene
Arduino:1.8.9 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Lo sketch usa 1498 byte (0%) dello spazio disponibile per i programmi. Il massimo è 253952 byte.
Le variabili globali usano 9 byte (0%) di memoria dinamica, lasciando altri 8183 byte liberi per le variabili locali. Il massimo è 8192 byte.
avrdude: ser_open(): can't open device "\\.\COM4": Impossibile trovare il file specificato.


avrdude: ser_drain(): read error: Handle non valido.


avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.

avrdude: ser_send(): write error: sorry no info avail


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Handle non valido.


avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer



Post Number:#15 Post Yesterday 5:31 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Friend, we are talking about SD card problem only.

There's no reason to try code for parts that you don't own like w5100, stamps, PCF8575, level sensors, ENC25J60, DS18B20, RTC and etc.

As you can see in Create_file_on_SD_card.ino Sd card is not working.

Can't open.



For your current hardware it should work with:

#include <SdFat.h>


const byte SelectSlave_SD = 53; 
const byte SelectSlave_RFM = 69;
const byte SelectSlave_ETH = 4;

SdFat SD;
SdFile file;


float temp;
float tempe;

void setup()
{
  int16_t n;
  char buf[8];

  pinMode(SelectSlave_RFM, OUTPUT);
  pinMode(SelectSlave_ETH, OUTPUT);
  digitalWrite(SelectSlave_RFM, HIGH);
  digitalWrite(SelectSlave_ETH, HIGH);
 
  Serial.begin(9600);

  SD.begin(SelectSlave_SD, SPI_HALF_SPEED);

  while(!Serial)
  {
    ; // wait for serial.
  }

  if(file.open("LOGTDIA.TXT", O_CREAT | O_APPEND | O_WRITE))
  {
    Serial.println("Writing...");
    Serial.println();

    for(temp = 27.5; temp > 22.0; temp -= 0.15)
    {
      file.print(temp);
      file.write((uint8_t*)"\0", 1);
      file.write((uint8_t*)"\r\n", 2);
    }

    for(tempe = 22.5; tempe < 28.0; tempe += 0.15)
    {
      file.print(tempe);
      file.write((uint8_t*)"\0", 1);
      file.write((uint8_t*)"\r\n", 2);
    }
    file.close();
    Serial.println("Done!");
    Serial.println();
  }
  else
  {
    Serial.println("Can't open.");
  }

  if(file.open("LOGTDIA.TXT", O_READ))
  {
    Serial.println("Reading...");
    Serial.println();
    delay(5000);
    while ((n = file.read(buf, sizeof(buf))) > 0)
    {
      Serial.println(buf);
    }
    file.close();
    Serial.println();
    Serial.print("Finished!");
  }
}
void loop()
{
}



Otherwise you has to find what isn't working, SD card, SD adapter or SD card reader on TFT.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#16 Post Yesterday 6:58 pm
Posts: 8
Topics: 1
Solve rating: 0
Joined: Thu Jul 18, 2019 5:21 pm
Topics: 1
Age: 48
Gender: None specified
National Flag:
Italy
i tried the code you post me, and nothing, i have change 4 sd formatted as FAT, exFAT, FAT32, and nothing, i checked the continuity betwen the pins and the sd card, all ok . The tft mega shield is new and i don't think so it be broken, :ymhug: how can i ceck the hardware?

Post Number:#17 Post Yesterday 7:15 pm
Posts: 1591
Topics: 38
Images: 271
Solve rating: 216
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 35
Location: São Paulo
Gender: Male
National Flag:
Brazil

Place a SD card with capacity of 1 or 2 GB formatted as FAT


I didn't told to try extFAT or FAT32.

You can try differents speeds as I told before.
Otherwise buy an ethernet shield and use your SD slot.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron