generated from hulk/gd32e23x_template
修改为100K硬件IIC
This commit is contained in:
parent
1b65f75da7
commit
c9e994f0c2
@ -5,7 +5,7 @@
|
|||||||
#ifndef BOARD_CONFIG_H
|
#ifndef BOARD_CONFIG_H
|
||||||
#define BOARD_CONFIG_H
|
#define BOARD_CONFIG_H
|
||||||
|
|
||||||
#define SOFTWARE_IIC
|
// #define SOFTWARE_IIC
|
||||||
|
|
||||||
// #define DEBUG_VERBOES
|
// #define DEBUG_VERBOES
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
#define I2C_SPEED 20000
|
#define I2C_SPEED 100*(1000)
|
||||||
|
|
||||||
#define I2C_TIME_OUT (uint16_t)(5000)
|
#define I2C_TIME_OUT (uint16_t)(5000)
|
||||||
#define I2C_OK 1
|
#define I2C_OK 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user