Library with PCF8591 support for the experiments for LPC812 MAX

Dependents:   lpc812_exp_solution_analog-in lpc812_exp_solution_7-segment lpc812_exp_solution_7-segment-shift lpc812_exp_solution_pwm ... more

Fork of lpc812_exp_lib_PCF8591 by EmbeddedArtists AB

Files at this revision

API Documentation at this revision

Comitter:
embeddedartists
Date:
Fri Nov 22 14:59:28 2013 +0000
Parent:
3:53bf66c0e0f6
Commit message:
Updated docs

Changed in this revision

PCF8591.h Show annotated file Show diff for this revision Revisions of this file
--- a/PCF8591.h	Fri Nov 15 10:35:09 2013 +0000
+++ b/PCF8591.h	Fri Nov 22 14:59:28 2013 +0000
@@ -7,15 +7,14 @@
  *
  * @code
  * #include "mbed.h"
- * #include "LcdController.h"
  *
- * PCF8591 pcf;
+ * PCF8591 adc;
  *
  * int main(void) {
  *
  *    while(1) {
  *       // read analog value
- *       int val = pcf.read(PCF8591::A0);
+ *       int val = adc.read(PCF8591::A0);
  *
  *       // do something with value...
  *    }