123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef __E53_SC1_H__
- #define __E53_SC1_H__
- #include <stdint.h>
- #define BH1750_ADDR 0x23
- typedef enum
- {
- OFF = 0,
- ON
- } SwitchStatus;
- int BoardInit(void);
- int E53SC1ReadData(float *data);
- void LightStatusSet(SwitchStatus status);
- void FanStatusSet(SwitchStatus status, uint8_t gear);
- #endif
|