sciosense / ens16x-arduino

Arduino library for the ENS16x digital metal-oxide multi-gas sensor family
https://www.sciosense.com/ens16x-digital-metal-oxide-multi-gas-sensor-family/
MIT License
6 stars 3 forks source link

A patch to the ino file, where the GPIOs for I2C_SDA and I2C_SCL are defined, so that the scratch can be directly used. #7

Open ulyssis opened 3 weeks ago

ulyssis commented 3 weeks ago

define the GPIOs designated for I2C communication for ESP32, the define should be adapted according to the specific controller in use.

I believe this patch is necessary, because ESP32 is the only example mentioned in the readme file, thus most of users can run the example with ESP32 directly without diving into the codes to make changes.