M5UnitUnified 0.2.0 git rev:9e1ffe1
Loading...
Searching...
No Matches
adapter_i2c.cpp File Reference

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

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

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