Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TCTF_Control_Main by
Diff: MCP23008/MCP23008.h
- Revision:
- 1:0182b86f9bd4
- Parent:
- 0:a28a1035c31b
--- a/MCP23008/MCP23008.h Mon Jan 22 20:11:52 2018 +0000
+++ b/MCP23008/MCP23008.h Mon Feb 05 06:41:23 2018 +0000
@@ -25,11 +25,10 @@
*
* This function is used to set output pins on or off.
*
- * @param chnl The GPIO pin to set
- * @param values A bitmask indicating whether a pin should be on or off.
+ * @param val The GPIO channels to turn on
*/
- void writeOutput(int chnl, bool val);
+ void writeOutput(int chn1, int chn2, int chn3, int chn4);
/** Sets I2C address
