M5UnitUnified 0.1.2 git rev:98f967c
Loading...
Searching...
No Matches
adapter_i2c.cpp File Reference

Adapter for I2C to treat M5HAL and TwoWire in the same way. More...

#include "adapter.hpp"
#include <cassert>
#include <Wire.h>
#include <M5HAL.hpp>
#include <M5Utility.hpp>
#include <soc/gpio_struct.h>
#include <soc/gpio_sig_map.h>

Detailed Description

Adapter for I2C to treat M5HAL and TwoWire in the same way.

Note
Currently handles TwoWire directly, but will handle via M5HAL in the future