typedef enum :uint8_t// 空气压缩音效状态
{
CP_STATE = 0, // Compressor NUTE
CP_INIT = 1, // Compressor state
CP_INIT2 = 2, // Compressor Init and Start
CP_DRV680 = 3, // Compressor drive680-719kPa
CP_DRV720 = 4, // Compressor drive720-759kPa
CP_DRV760 = 5, // Compressor drive760-780kPa
CP_EXIT = 6, // Compressor Exit
CP_WAIT = 7, // Compressor Standby
} CP_State;
void setup() {
// put your setup code here, to run once:
CP_State cpstat=CP_INIT2;
Serial.begin(115200);
Serial.println(sizeof(cpstat));
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}