Advertisement
computermuseo

sensore luminosità arduino

Mar 24th, 2015
1,653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. void setup() {
  2. Serial.begin(9600);
  3. }
  4. void loop() {
  5. int sensorValue = analogRead(A0);
  6. Serial.println(sensorValue);
  7. delay(1);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement