21 lines
733 B
C++
21 lines
733 B
C++
/*#############################################################################
|
|
## Author: Shaun Reed ##
|
|
## Legal: All Content (c) 2025 Shaun Reed, all rights reserved ##
|
|
## ##
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
|
|
##############################################################################
|
|
*/
|
|
|
|
#include "i2c.h"
|
|
|
|
// Pin may vary based on your schematic.
|
|
#define PIN_SDA GPIO_NUM_21
|
|
#define PIN_SCL GPIO_NUM_22
|
|
#define PIN_RST (-1)
|
|
|
|
extern "C" void app_main(void)
|
|
{
|
|
init_i2c(PIN_SDA, PIN_SCL);
|
|
|
|
}
|