This is a tool to connect a Wemos D1 mini to an Arduino Nano to set and read its GPIOs via I2C.
To have a WiFi connect put the file credential.h in the folder i2cMaster/include with the following content:
const char* ssid = "YOUR_SSID";
const char* password = "YOUR_PASSWORD";
There are commands which are sent via I2c, the commands are composed of a letter and a parameter.
So far the letter can be a upper case or a lower case, the parameter will be transfered as a uint16_t.
for example:
I5 -> Read pin 5
i5 -> Read pin 5, set internal pull up resistor
H5 -> Write to pin 5 High
L5 -> Write to pin 5 Low