/** 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 Istvan Cserny

ComparatorIn.lib

Committer:
frankvnk
Date:
2013-06-16
Revision:
3:fc232e248bd0
Parent:
2:bb19e60cb933
Child:
4:07dd82e3f934

File content as of revision 3:fc232e248bd0:

http://mbed.org/users/frankvnk/code/ComparatorIn/#18170968fdc3