From d11a723abb95002981fc7ca620fab4f7ce4bb158 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Fri, 5 Jul 2013 15:06:37 +0200 Subject: delete OLDYahooWeather example Updated pretty-wifi-info-lua path in ShellCommands and WifiStatus examples Tried to make a sense of HttpClient example by making it fetch http://arduino.cc/asciilogo.txt --- libraries/Bridge/examples/ShellCommands/ShellCommands.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libraries/Bridge/examples/ShellCommands/ShellCommands.ino') diff --git a/libraries/Bridge/examples/ShellCommands/ShellCommands.ino b/libraries/Bridge/examples/ShellCommands/ShellCommands.ino index aabd0ec..5a4c291 100644 --- a/libraries/Bridge/examples/ShellCommands/ShellCommands.ino +++ b/libraries/Bridge/examples/ShellCommands/ShellCommands.ino @@ -1,4 +1,3 @@ - /* Running shell commands using Process class. @@ -32,10 +31,10 @@ void setup() { void loop() { Process p; - // This command line runs the wifiCheck script, (lua /arduino/pretty...), then + // This command line runs the WifiStatus script, (/usr/bin/pretty-wifi-info.lua), then // sends the result to the grep command to look for a line containing the word // "Signal:" the result is passed to this sketch: - p.runShellCommand("lua /arduino/pretty_wifi_info.lua | grep Signal"); + p.runShellCommand("/usr/bin/pretty-wifi-info.lua | grep Signal"); // do nothing until the process finishes, so you get the whole output: while(p.running()); -- cgit v1.2.3-18-g5258