SoftI2C fork with ack fix

Revision:
2:9ee34b54555e
Parent:
1:05473196d133
--- a/SoftI2C.cpp	Mon Nov 28 19:55:30 2016 +0000
+++ b/SoftI2C.cpp	Wed May 22 12:26:36 2019 +0000
@@ -126,7 +126,7 @@
     
     _scl.write(1);
     wait_us(delay_us);
-    int retval = ~_sda.read(); //Read the ack
+    int retval = !_sda.read(); //Read the ack
     wait_us(delay_us);
     
     return retval;