User Tools

Site Tools


projects:two_arduino_yun_to_display_temperature_and_humidity_remotely:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
projects:two_arduino_yun_to_display_temperature_and_humidity_remotely:start [22/07/2014 17:18]
Mirelsol created
projects:two_arduino_yun_to_display_temperature_and_humidity_remotely:start [22/07/2014 17:19]
Mirelsol
Line 26: Line 26:
 #include <​LiquidCrystal_I2C.h>​ #include <​LiquidCrystal_I2C.h>​
  
-String ​remote_yun_url;+String ​remoteYunUrl;
  
 // Set the LCD address to 0x20 for a 20 chars and 4 line display // Set the LCD address to 0x20 for a 20 chars and 4 line display
Line 49: Line 49:
     String param1 = dataFile.readStringUntil('​\n'​);​     String param1 = dataFile.readStringUntil('​\n'​);​
     param1.indexOf('​=',​ 0);     param1.indexOf('​=',​ 0);
-    String ​remote_ip ​= param1.substring(param1.indexOf('​=',​ 0) + 1); +    String ​remoteIp ​= param1.substring(param1.indexOf('​=',​ 0) + 1); 
-    ​remote_yun_url ​= "​http://"​ + remote_ip ​+ "/​arduino/​dht22/";​+    ​remoteYunUrl ​= "​http://"​ + remoteIp ​+ "/​arduino/​dht22/";​
     lcd.print(remote_ip);​     lcd.print(remote_ip);​
     dataFile.close();​     dataFile.close();​
/var/www/tech_mirelsol/data/pages/projects/two_arduino_yun_to_display_temperature_and_humidity_remotely/start.txt · Last modified: 22/07/2014 17:20 by Mirelsol