Last active
December 8, 2018 12:04
-
-
Save ypelletier/2a4ac26e30b79c77a07670a6ab81f97e to your computer and use it in GitHub Desktop.
Sketch Arduino pour l'envoi de données par bluetooth vers une appli android qui trace un graphique cartésien
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Sketch Arduino pour l'envoi de données par bluetooth vers | |
une appli android qui trace un graphique cartésien | |
Basé sur un sketch par Augusto Valdez | |
http://www.gadgetas.com/blog/tutorial-arduino-con-android-app-inventor-2/ | |
Plus de détails: | |
http://electroniqueamateur.blogspot.com/2017/10/appli-android-qui-presente-les-mesures.html | |
*/ | |
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
Serial.print("#"); | |
Serial.println(analogRead(A0)); | |
delay(200); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment