i'm using Arduino Leonardo and i have a question about its abilities.
i want to create some monitoring system.
i can ping google.com with below code when my computer windows7 command prompt is open and my leonardo is connected to my computer.
Keyboard.print("ping google.com -t");
Keyboard.press(KEY_RETURN);
Keyboard.release(KEY_RETURN);
the result in command prompt is some thing like this:
C:\Users\programmer>ping google.com -t
Pinging google.com [173.194.116.104] with 32 bytes of data:
Reply from 173.194.116.104: bytes=32 time=405ms TTL=48.
Reply from 173.194.116.104: bytes=32 time=403ms TTL=48
Request timed out.
Request timed out.
Reply from 173.194.116.104: bytes=32 time=405ms TTL=48
I want to monitor ping result. How leonardo can understand that ping result has been changed to "Request timed out." ? is it possible only with programming ? does it needs to some extra hardware modules ?