start:arduino:emg
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
start:arduino:emg [2023/02/06 17:24] – [Connexion d'électrode :] gerardadmin | start:arduino:emg [2023/02/14 12:08] (Version actuelle) – [Test Capteurs EMG] gerardadmin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
======== Test Capteurs EMG ======== | ======== Test Capteurs EMG ======== | ||
+ | |||
+ | [[start: | ||
+ | |||
+ | [[start: | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
Ligne 122: | Ligne 130: | ||
void setup() { | void setup() { | ||
- | Serial.begin(9600); | + | Serial.begin(115200); |
} | } | ||
Ligne 130: | Ligne 138: | ||
</ | </ | ||
+ | |||
+ | ==== Code version 2 ==== | ||
+ | |||
+ | <code c arduinoEMG002.ino> | ||
+ | |||
+ | int EMGPin = A0; | ||
+ | int EMGVal = 0; | ||
+ | |||
+ | void setup() { | ||
+ | Serial.begin(115200); | ||
+ | } | ||
+ | |||
+ | void loop() { | ||
+ | EMGVal = analogRead(EMGPin); | ||
+ | Serial.println(EMGVal); | ||
+ | } | ||
+ | </ | ||
/home/chanteri/www/fablab37110/data/attic/start/arduino/emg.1675700669.txt.gz · Dernière modification : 2023/02/06 17:24 de gerardadmin