Wiki

Reso-nance numérique | Arts et cultures libres

Outils du site


projets:esposc:accueil

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
projets:esposc:accueil [2018/12/24 22:53]
resonance [le projet]
projets:esposc:accueil [2019/01/27 14:41] (Version actuelle)
resonance [code]
Ligne 5: Ligne 5:
   * Contexte :    * Contexte : 
   * Fichiers : lien   * Fichiers : lien
-  * Lien : lien vers un site éventuellement+  * Lien : d'apres [[https://github.com/stahlnow/OSCLib-for-ESP8266]]
  
  
Ligne 38: Ligne 38:
  
 WiFiUDP Udp;                                // A UDP instance to let us send and receive packets over UDP WiFiUDP Udp;                                // A UDP instance to let us send and receive packets over UDP
-const IPAddress outIp(192,168,43,20);        // remote IP of your computer+const IPAddress outIp(192,168,43,20);        // Ip de l'ordi , ou finir part 255 pour mettre en mode broadcast le serveur wifi
 const unsigned int outPort = 9999;          // remote port to receive OSC const unsigned int outPort = 9999;          // remote port to receive OSC
 const unsigned int localPort = 8888;        // local port to listen for OSC packets (actually not used for sending) const unsigned int localPort = 8888;        // local port to listen for OSC packets (actually not used for sending)
Ligne 63: Ligne 63:
     Serial.println(WiFi.localIP());     Serial.println(WiFi.localIP());
  
-    Serial.println("Starting UDP");{{ :projets:esposc:screen_shot_12-24-18_at_02.46_pm.jpg?nolink |+    Serial.println("Starting UDP");
     Udp.begin(localPort);     Udp.begin(localPort);
     Serial.print("Local port: ");     Serial.print("Local port: ");
Ligne 83: Ligne 83:
     Udp.endPacket();     Udp.endPacket();
     msg.empty();     msg.empty();
-    delay(50);  // latence minimal pour eviter crash+    delay(5);  // latence minimal pour eviter crash
 } }
  
/home/resonancg/www/wiki/data/attic/projets/esposc/accueil.1545688396.txt.gz · Dernière modification: 2018/12/24 22:53 de resonance