uint8_t gCV29_Vstart = 1;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
if (bitRead(gCV29_Vstart, 0)==0)
{
Serial.println("正向");
}
else
{
Serial.println("反向");
}
if (bitRead(gCV29_Vstart,3)==1)
{
Serial.println("RailCOM Enable");
}
else
{
Serial.println("RailCOM Disable");
}
};
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}