diff --git a/src/main.c b/src/main.c index 092d290..dd4feee 100644 --- a/src/main.c +++ b/src/main.c @@ -61,9 +61,16 @@ int main(void) { // watchdog_init(); /* configure I2C */ +#ifdef SOFTWARE_IIC soft_i2c_config(); +#else + i2c_config(); +#endif +#ifdef DEBUG_VERBOES ldc1612_iic_get_sensor_infomation(); +#endif + /* configure LDC1612 */ ldc1612_single_ch0_config();