13) analogRead

"analogRead" reads resistance in the analog ports. You can use this for:
  • Photoresistors (photocells)
  • Ultrasonic Rangefinders (on the analog side)
  • Potentiomiters
  • Pressure sensors (some have analog and/or digital, this is only for analog)
  • and more!
analogRead(port) returns a 10 bit number, from 0 to 1023 [which is (2^10)-1  ].

NOT DONE YET...
Comments