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
Revision 3:53bf66c0e0f6, committed 2013-11-15
- Comitter:
- embeddedartists
- Date:
- Fri Nov 15 10:35:09 2013 +0000
- Parent:
- 2:8371322cbdc2
- Child:
- 4:a7d0ee55d5cd
- 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:33:06 2013 +0000 +++ b/PCF8591.h Fri Nov 15 10:35:09 2013 +0000 @@ -14,12 +14,8 @@ * int main(void) { * * while(1) { - * // read analog value (keep trying until valid) - * int val; - * do { - * val = pcf.read(PCF8591::A0); - * wait(0.01); - * } while(val == -1); + * // read analog value + * int val = pcf.read(PCF8591::A0); * * // do something with value... * }