projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the toolchain selection page stub
[bertos.git]
/
bertos
/
drv
/
pcf8574.h
diff --git
a/bertos/drv/pcf8574.h
b/bertos/drv/pcf8574.h
index 7d53d95ec88cc0268f719c9cc37225c128868014..bde525c55a2796ae7b554d9aedcbca6a76d9a8f9 100644
(file)
--- a/
bertos/drv/pcf8574.h
+++ b/
bertos/drv/pcf8574.h
@@
-51,6
+51,7
@@
typedef struct Pcf8574
pcf8574_addr addr;
} Pcf8574;
pcf8574_addr addr;
} Pcf8574;
+#define PCF8574ID 0x40 ///< I2C address
int pcf8574_get(Pcf8574 *pcf);
bool pcf8574_put(Pcf8574 *pcf, uint8_t data);
int pcf8574_get(Pcf8574 *pcf);
bool pcf8574_put(Pcf8574 *pcf, uint8_t data);