int incomingByte = 0; // for incoming serial data

void setup() {
  // put your setup code here, to run once:
  Serial.begin(300); // opens serial port, sets data rate to 300 bps
  pinMode(13, OUTPUT);
}

void loop() {
    // read the incoming byte:
    if(Serial.available()){
    // // say what you got:
    incomingByte = Serial.read();
    Serial.print(char(incomingByte));
    }


}
Loading
tt-block-input
Loading
tt-block-output
4
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
UART Debug
Bit 7
SW7: Load | TX
SW8: Output Enable
TX
Output Enable
OUTPUT
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
Bidirectional I/O pins
Idle Bit
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
Bit 7
Idle Bit
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
Bit 7
Idle Bit
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
Bit 7
Idle Bit
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
Bit 7
Idle Bit
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Start Bit
Stop Bit
Bit 7
Idle Bit

ERC Warnings

ttio1:OUT: Input pin not driven
ttio2:OUT: Input pin not driven
ttio3:OUT: Input pin not driven
ttio4:OUT: Input pin not driven
ttio5:OUT: Input pin not driven
ttio6:OUT: Input pin not driven
ttio7:OUT: Input pin not driven
ttio8:OUT: Input pin not driven