How to convert this arduino code to MATLAB for measure Galvanic Skin Response
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
void setup(){ Serial.begin(9600); }
void loop(){ int a=analogRead(0); if (Serial.available() > 0) {
byte inbyte=Serial.read();
if(inbyte=='a'){
Serial.write(a);
}
}
}
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!