mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-23 17:54:24 +01:00
25 lines
309 B
C++
25 lines
309 B
C++
#include <Process.h>
|
|
|
|
void brk() {
|
|
Bridge.print((char)3);
|
|
Bridge.find("#");
|
|
}
|
|
|
|
void setup() {
|
|
Bridge.begin();
|
|
|
|
Process p;
|
|
p.begin("curl");
|
|
p.addParameter("http://arduino.cc/asciilogo.txt");
|
|
p.run();
|
|
|
|
String res = "";
|
|
while (p.IO.available()>0) {
|
|
p.IO.read();
|
|
}
|
|
}
|
|
|
|
void loop() {
|
|
}
|
|
|