/** 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
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
8:a5b18dfe684f | 2015-11-18 | First version | File Diff Annotate |
7:a4f884972a0e | 2015-11-11 | First version | File Diff Annotate |
4:07dd82e3f934 | 2013-07-20 | int_en removed | File Diff Annotate |
2:bb19e60cb933 | 2013-06-16 | added 12-bit DAC demo | File Diff Annotate |
1:fb35e688f9f4 | 2013-06-05 | detection threshold adjusted | File Diff Annotate |
0:e5deffde916d | 2013-06-05 | Initial version | File Diff Annotate |