uint8_t MIA1OFF[8] = {0x08, 0x06, 0x00, 0x01, 0x00, 0x00, 0xD8, 0x93}; //8
uint8_t MIA2OFF[8] = {0x65, 0x06, 0x00, 0x01, 0x00, 0x00, 0xD0, 0x2E}; //101
uint8_t MIA3OFF[8] = {0x01, 0x06, 0x00, 0x01, 0x00, 0x00, 0xD8, 0x0A}; //1
uint8_t MIA1ON[8] = {0x08, 0x06, 0x00, 0x01, 0x00, 0x01, 0x19, 0x53}; //8
uint8_t MIA2ON[8] = {0x65, 0x06, 0x00, 0x01, 0x00, 0x01, 0x11, 0xEE}; //101
uint8_t MIA3ON[8] = {0x01, 0x06, 0x00, 0x01, 0x00, 0x01, 0x19, 0xCA}; //1
void setup()
{
}
void loop()
{
Serial.begin(9600);
Serial.write(MIA1OFF, 8);
delay(5000);
Serial.end();
Serial.begin(9600);
Serial.write(MIA2OFF, 8);
delay(5000);
Serial.end();
Serial.begin(9600);
Serial.write(MIA3OFF, 8);
delay(5000);
Serial.end();
Serial.begin(9600);
Serial.write(MIA1ON, 8);
delay(5000);
Serial.end();
Serial.begin(9600);
Serial.write(MIA2ON, 8);
delay(5000);
Serial.end();
Serial.begin(9600);
Serial.write(MIA3ON, 8);
delay(5000);
Serial.end();
}