i need simple shield to demontrate  led r g b
i need to see wave form...  use a0 as input signal
void setup() {
  // initialize the serial communication:
  Serial.begin(9600);
}
void loop() {
  // send the value of analog input 0:
  Serial.println(analogRead(A0));
  // wait a bit for the analog-to-digital converter
  // to stabilize after the last reading:
  delay(2);
}
https://www.youtube.com/watch?v=ANob4gHf4e8

No comments:
Post a Comment