X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=oggi%2Fserial_hello_world%2Fserial_hello_world.ino;fp=oggi%2Fserial_hello_world%2Fserial_hello_world.ino;h=0000000000000000000000000000000000000000;hb=8358fa5a102089baa511a66a7b56fd863ba652b0;hp=7f8e81464605ef8e02d80919056f71972b90acfe;hpb=9d3bb05eb7ccdf3b1d720349058a9860893288c9;p=sketchbook_andrea diff --git a/oggi/serial_hello_world/serial_hello_world.ino b/oggi/serial_hello_world/serial_hello_world.ino deleted file mode 100644 index 7f8e814..0000000 --- a/oggi/serial_hello_world/serial_hello_world.ino +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Hello World! - * - * This is the Hello World! for Arduino. - * It shows how to send data to the computer trough the serial connection - */ - -void setup() -{ - Serial.begin(9600); // Inposta la seriale a 9600 bps - // Se Arduino manda 9600 bit per secondo e devi manandare 12 Bytes di dati - // quanto tempo serve per mandare i dati? - - // Try to change bond rate in the monitor - - Serial.println("Hello World!"); // scrive hello world e ritorna a capo - - -// Serial.print("Il mio nome e': "); // Scrive senza ritorno a capo -// Serial.println("Andrea"); // Scrive con ritorno a capo -// Serial.flush(); // Assicura che tutto il testo venga scritto - -} - -void loop() -{ - // Provate a mettere i Serial.printl() qui, magari con un delay() -} - - - -