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

History

First version default tip

2015-11-18, by icserny [Wed, 18 Nov 2015 15:29:18 +0000] rev 8

First version


First version

2015-11-11, by icserny [Wed, 11 Nov 2015 08:12:13 +0000] rev 7

First version


library : _fptr names were too generic. Added comparatorin_ to each name.

2013-08-25, by frankvnk [Sun, 25 Aug 2013 18:01:58 +0000] rev 6

library : _fptr names were too generic. Added comparatorin_ to each name.


Doxygen doc cleanup

2013-07-20, by frankvnk [Sat, 20 Jul 2013 18:57:10 +0000] rev 5

Doxygen doc cleanup


int_en removed

2013-07-20, by frankvnk [Sat, 20 Jul 2013 16:31:19 +0000] rev 4

int_en removed
; rising/falling changed
; improved function names


ComparatorIn library update

2013-06-16, by frankvnk [Sun, 16 Jun 2013 20:06:30 +0000] rev 3

ComparatorIn library update


added 12-bit DAC demo

2013-06-16, by frankvnk [Sun, 16 Jun 2013 15:17:56 +0000] rev 2

added 12-bit DAC demo


detection threshold adjusted

2013-06-05, by frankvnk [Wed, 05 Jun 2013 18:51:15 +0000] rev 1

detection threshold adjusted


Initial version

2013-06-05, by frankvnk [Wed, 05 Jun 2013 18:07:02 +0000] rev 0

Initial version