13 lines
355 B
C++
13 lines
355 B
C++
#include "TjdUiAppLowPowerModel.h"
|
|
#include "motor.h"
|
|
#include "TjdUiSettingCenter.h"
|
|
#include "power_display_service.h"
|
|
|
|
namespace TJD {
|
|
void TjdUiAppLowPowerModel::MsgShakeEvent(void)
|
|
{
|
|
motor_param_t motorParam = {.cycle1_on = 250, .cycle1_off = 750, .cycle1_cnt = 1, .duty = 100};
|
|
tjd_driver_motor_user_start(&motorParam);
|
|
}
|
|
|
|
} // namespace TJD
|