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

Files at this revision

API Documentation at this revision

Comitter:
icserny
Date:
Wed Nov 18 15:29:18 2015 +0000
Parent:
7:a4f884972a0e
Commit message:
First version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a4f884972a0e -r a5b18dfe684f main.cpp
--- a/main.cpp	Wed Nov 11 08:12:13 2015 +0000
+++ b/main.cpp	Wed Nov 18 15:29:18 2015 +0000
@@ -1,4 +1,4 @@
-/** comparatorin_demo
+/** 05_comparator_demo
  *  Simple program to demonstrate the basic functions
  *  of the analog comparator of the FRDM-KL25Z board.
  *