![](/media/cache/group/mcu.png.50x50_q85.jpg)
/** comparatorin_demo * Simple program to demonstrate the basic functions * of the analog comparator of the FRDM-KL25Z board. * * Used library: * - ComparatorIn //https://developer.mbed.org/users/frankvnk/code/ComparatorIn/ * written by Frank Vannieuwkerke * * Hardware requirements: * - FRDM-KL25 board * - CdS photoresistor pulled up by 10 k * - Connecect the midpoint of the divider to PTE29 * * 10k CdS photoresistor * +3.3V --/\/\/\---+---/\/\/\---- GND * | * PTE29 * */
Dependencies: ComparatorIn mbed
Fork of 05_comparator_demo by
Diff: ComparatorIn.lib
- Revision:
- 2:bb19e60cb933
- Parent:
- 0:e5deffde916d
- Child:
- 3:fc232e248bd0
--- a/ComparatorIn.lib Wed Jun 05 18:51:15 2013 +0000 +++ b/ComparatorIn.lib Sun Jun 16 15:17:56 2013 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/frankvnk/code/ComparatorIn/#9b1268dd1d16 +http://mbed.org/users/frankvnk/code/ComparatorIn/#f340e0545b53