![](/media/cache/group/i2c_logo.png.50x50_q85.png)
8-bit A/D and D/A converter
Dependencies: mbed
PCF8591.h@0:74b27674f0d8, 2015-02-04 (annotated)
- Committer:
- wataaki
- Date:
- Wed Feb 04 06:12:52 2015 +0000
- Revision:
- 0:74b27674f0d8
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wataaki | 0:74b27674f0d8 | 1 | #define PCF8591_ADDR 0x90 |
wataaki | 0:74b27674f0d8 | 2 | //#define PCF8591_ADDR 0x92 |
wataaki | 0:74b27674f0d8 | 3 | //#define PCF8591_ADDR 0x94 |
wataaki | 0:74b27674f0d8 | 4 | //#define PCF8591_ADDR 0x96 |
wataaki | 0:74b27674f0d8 | 5 | //#define PCF8591_ADDR 0x98 |
wataaki | 0:74b27674f0d8 | 6 | //#define PCF8591_ADDR 0x9A |
wataaki | 0:74b27674f0d8 | 7 | //#define PCF8591_ADDR 0x9C |
wataaki | 0:74b27674f0d8 | 8 | //#define PCF8591_ADDR 0x9E |
wataaki | 0:74b27674f0d8 | 9 | |
wataaki | 0:74b27674f0d8 | 10 | #define MODE1 0x00 |
wataaki | 0:74b27674f0d8 | 11 | #define MODE2 0x01 |
wataaki | 0:74b27674f0d8 | 12 | #define PWM0 0x02 |
wataaki | 0:74b27674f0d8 | 13 | #define PWM1 0x03 |
wataaki | 0:74b27674f0d8 | 14 | #define PWM2 0x04 |
wataaki | 0:74b27674f0d8 | 15 | #define PWM3 0x05 |
wataaki | 0:74b27674f0d8 | 16 | #define PWM4 0x06 |
wataaki | 0:74b27674f0d8 | 17 | #define PWM5 0x07 |
wataaki | 0:74b27674f0d8 | 18 | #define PWM6 0x08 |
wataaki | 0:74b27674f0d8 | 19 | #define PWM7 0x09 |
wataaki | 0:74b27674f0d8 | 20 | #define PWM8 0x0a |
wataaki | 0:74b27674f0d8 | 21 | #define PWM9 0x0b |
wataaki | 0:74b27674f0d8 | 22 | #define PWM10 0x0c |
wataaki | 0:74b27674f0d8 | 23 | #define PWM11 0x0d |
wataaki | 0:74b27674f0d8 | 24 | #define PWM12 0x0e |
wataaki | 0:74b27674f0d8 | 25 | #define PWM13 0x0f |
wataaki | 0:74b27674f0d8 | 26 | #define PWM14 0x10 |
wataaki | 0:74b27674f0d8 | 27 | #define PWM15 0x11 |
wataaki | 0:74b27674f0d8 | 28 | #define GRPPWM 0x12 |
wataaki | 0:74b27674f0d8 | 29 | #define GRPFREQ 0x13 |
wataaki | 0:74b27674f0d8 | 30 | #define LEDOUT0 0x14 |
wataaki | 0:74b27674f0d8 | 31 | #define LEDOUT1 0x15 |
wataaki | 0:74b27674f0d8 | 32 | #define LEDOUT2 0x16 |
wataaki | 0:74b27674f0d8 | 33 | #define LEDOUT3 0x17 |
wataaki | 0:74b27674f0d8 | 34 | #define SUBADR1 0x18 |
wataaki | 0:74b27674f0d8 | 35 | #define SUBADR2 0x19 |
wataaki | 0:74b27674f0d8 | 36 | #define SUBADR3 0x1a |
wataaki | 0:74b27674f0d8 | 37 | #define ALLCALLADR 0x1b |