diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-07-05 15:06:37 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-07-05 15:06:37 +0200 |
commit | d11a723abb95002981fc7ca620fab4f7ce4bb158 (patch) | |
tree | 0aa718443c7b6e5bb11b6746f36e4424a65859e2 /libraries/Bridge/examples/ShellCommands | |
parent | 26010e7eacbff52ea36b786343c50fde6fcfb965 (diff) |
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
Diffstat (limited to 'libraries/Bridge/examples/ShellCommands')
-rw-r--r-- | libraries/Bridge/examples/ShellCommands/ShellCommands.ino | 5 |
1 files changed, 2 insertions, 3 deletions
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()); |