Rdzleo c63b35a0e7
Some checks failed
Build Boards / Determine variants to build (push) Successful in 6m26s
Build Boards / Build ${{ matrix.name }} (push) Failing after 6m43s
1、第一次提交项目,项目初始化;
2、修改了RP2040的代码,使其在没有安装摄像头的情况下也可以左右转动眼球和左右转动身体;
3、增加了一些中文注释的说明;
2026-04-09 14:22:24 +08:00

23 lines
482 B
C++

#ifndef __BOARD_POWER_BSP_H__
#define __BOARD_POWER_BSP_H__
class BoardPowerBsp {
private:
const int epdPowerPin_;
const int audioPowerPin_;
const int vbatPowerPin_;
static void PowerLedTask(void *arg);
public:
BoardPowerBsp(int epdPowerPin, int audioPowerPin, int vbatPowerPin);
~BoardPowerBsp();
void PowerEpdOn();
void PowerEpdOff();
void PowerAudioOn();
void PowerAudioOff();
void VbatPowerOn();
void VbatPowerOff();
};
#endif