double rad = 3.14; double y = 0; void setup(){ Serial.begin(9600); } void loop() { y = sin(rad); Serial.println(y); rad = rad + .01; }
No comments:
Post a Comment