X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fpcf8574.h;h=bde525c55a2796ae7b554d9aedcbca6a76d9a8f9;hb=663cf4d83abe9ca57222f24761b7ebcd63ecbf29;hp=7d53d95ec88cc0268f719c9cc37225c128868014;hpb=830e0e12736975e4da0440cc225ff6a4e98d45ca;p=bertos.git diff --git a/bertos/drv/pcf8574.h b/bertos/drv/pcf8574.h index 7d53d95e..bde525c5 100644 --- a/bertos/drv/pcf8574.h +++ b/bertos/drv/pcf8574.h @@ -51,6 +51,7 @@ typedef struct Pcf8574 pcf8574_addr addr; } Pcf8574; +#define PCF8574ID 0x40 ///< I2C address int pcf8574_get(Pcf8574 *pcf); bool pcf8574_put(Pcf8574 *pcf, uint8_t data);