/** 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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:a5b18dfe684f | 2015-11-18 | icserny | First version |
7:a4f884972a0e | 2015-11-11 | icserny | First version |
6:59d91df28f63 | 2013-08-25 | frankvnk | library : _fptr names were too generic. Added comparatorin_ to each name. |
5:5161b8d6e695 | 2013-07-20 | frankvnk | Doxygen doc cleanup |
4:07dd82e3f934 | 2013-07-20 | frankvnk | int_en removed |
3:fc232e248bd0 | 2013-06-16 | frankvnk | ComparatorIn library update |
2:bb19e60cb933 | 2013-06-16 | frankvnk | added 12-bit DAC demo |
1:fb35e688f9f4 | 2013-06-05 | frankvnk | detection threshold adjusted |
0:e5deffde916d | 2013-06-05 | frankvnk | Initial version |