gjyrjyykkudt

Dependencies:   mbed MCP23017

Revision:
6:cd2671c141cc
Parent:
2:32d2cd7d744b
diff -r 8a0663298e2c -r cd2671c141cc MCP/MCP.cpp
--- a/MCP/MCP.cpp	Sat Jan 25 06:38:16 2020 +0000
+++ b/MCP/MCP.cpp	Sat Feb 01 06:40:55 2020 +0000
@@ -38,6 +38,7 @@
 }
         
 void MCP::Update(void) {
+    i2c.frequency(100000);
     char data[2] = {GPPUA, 0xff};
     int lost = i2c.write(0x40, data, 2);
     if(lost) {