Skip to content

Commit

Permalink
Merge pull request #82 from Spooks4576/Development
Browse files Browse the repository at this point in the history
Update axp2101.h
  • Loading branch information
Spooks4576 authored Nov 14, 2024
2 parents 29b7c3b + 68ecf14 commit e01f815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/vendor/drivers/axp2101.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
#include <stdbool.h>

// I2C configuration
#ifdef I2C_NUM_1
#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number
#else
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number
#endif
#define I2C_MASTER_SDA_IO 10 // SDA pin
#define I2C_MASTER_SCL_IO 11 // SCL pin
#define I2C_MASTER_FREQ_HZ 100000 // I2C clock frequency
Expand Down

0 comments on commit e01f815

Please sign in to comment.