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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!