Advertisement
florinb

Untitled

May 27th, 2022
858
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. void loop() {
  3.     Serial.println("hello!! 1 ");
  4.    
  5.   char * ftp_server_c;
  6.   char * ftp_user_c;
  7.   char * tp_pass_c;
  8.  
  9.  
  10.    Serial.println(ftp_server);
  11.  
  12.   // strcpy (ftp_user_c, ftp_user.c_str());  - NOPE:
  13.   // ftp_server_c = ftp_server.c_str(); - NOPE
  14.  
  15.   ftp_server_c =  ftp_server; // ofcourse NOPE
  16.  
  17.     Serial.println("hello!! 1.1 ");
  18.  
  19.   strcpy (ftp_user_c, ftp_user.c_str());
  20.   strcpy (tp_pass_c, ftp_pass.c_str());
  21.  
  22.       Serial.println(ftp_server_c);
  23.       Serial.println(ftp_user_c);
  24.       Serial.println(tp_pass_c);
  25.  
  26. doFUN();
  27.  
  28. }
Advertisement
RAW Paste Data Copied
Advertisement