Copyright | (c) Levent Erkok |
---|---|
License | BSD3 |
Maintainer | erkokl@gmail.com |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Reads the value of an analog input, controlled by a 10K potentiometer.
Documentation
Read the value of an analog input line. We will print the value on the screen, and also blink a led on the Arduino based on the value. The smaller the value, the faster the blink.
The circuit simply has a 10K potentiometer between 5V and GND, with the wiper line connected to analog input 3. We also have a led between pin 13 and GND.