Clear Filters
Clear Filters

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

1 view (last 30 days)
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);
}
}
}

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!