This PR implements embedded-hal i2c traits using blocking gpio bitbang approach.
Minimal documentation and example code are provided in rustdoc format.
In brief, this implementation requires the following h/w resources:
two gpio pins configured as Open-Drain outputs
periodic timer which frequency should be twice as required i2c clock
So far this implementation has been tested using AT24 serial EEPROM and LM75A temperature sensor.
Full examples for BluePill board are available in the following repository with examples:
This PR implements embedded-hal i2c traits using blocking gpio bitbang approach. Minimal documentation and example code are provided in rustdoc format.
In brief, this implementation requires the following h/w resources:
So far this implementation has been tested using AT24 serial EEPROM and LM75A temperature sensor. Full examples for BluePill board are available in the following repository with examples:
Regards, Sergey