Documentation — Recitation 9
Documentation — Recitation 9 By Xiaoyi Cai (Mia) Date: 4/27/2021 I. Make a Processing Etch A Sketch Here is the code of the final version: Arduino—- void setup() { Serial.begin(9600); } void loop() { int sensor1 = analogRead(A2); int sensor2 = analogRead(A4); Serial.print(sensor1); Serial.print(“,”); Serial.print(sensor2); Serial.println(); delay(2); } Processing—- import processing.serial.*; float … Continue reading Documentation — Recitation 9