How to convert this arduino code to MATLAB for measure Galvanic Skin Response

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by