/*
 * UART Levels Test
 * 20230825
 */

#define DELAY 3000

//#include <SoftwareSerial.h>


//SoftwareSerial SSerial(7,8);

byte a[] = { B01010101, B00110110 };


void setup() {
  Serial.begin(9600);
  Serial.println("READY");
  Serial.print("Binary sending (write) a couple of byte every ");
  Serial.print(DELAY / 1000);
  Serial.println(" seconds.");
  Serial.println();
}

void loop() {
  delay(DELAY);
  Serial.write(a, 2);
}
D0D1D2D3D4D5D6D7GNDLOGIC