|
|
@ -8,7 +8,7 @@ extern "C" { |
|
|
|
#include "sdk/components/mini_servo_motor/mini_servo_motor_ctrl_module.hpp"
|
|
|
|
#include "sdk/components/sensors/m3078/m3078_code_scaner.hpp"
|
|
|
|
#include "sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
#include "sdk/components/sensors/tmp117/tmp117.hpp"
|
|
|
|
#include "sdk/components/water_cooling_temperature_control_module/pwm_ctrl_module.hpp"
|
|
|
@ -59,7 +59,7 @@ void Subboard40And50TemperatureCtrl::initialize() { |
|
|
|
temp[3].initializate(&hi2c1, subboard40_and_50_temperature_ctrl_board_i2c_reset, TMP117::ID3); |
|
|
|
|
|
|
|
for (size_t i = 0; i < 4; i++) { |
|
|
|
ZLOGI(TAG, "temperature %d sensor is online %d", i, temp[i].isOnline()); |
|
|
|
ZLOGI(TAG, "temperature %d sensor is online %d", i, temp[i].isOnlineWhenPowerOn()); |
|
|
|
} |
|
|
|
|
|
|
|
if (getmoduleId(0) == 40) { |
|
|
|