Bit Banging a UARTless chip. Allows for any of the pins to become TX and RX pins. Tested with FTDI basic and Tera Term on windows.
This only really allows for sending charachters, and only works at a baud of 9800. This is meant mostly as a proof of concept rather than for actual use.
- All you need you to is create a bitIO component called SerialTx, and another called SerialRx.
- To transmit data, you use sendByte(), using a char(e.g. 's'), int, or hex value as the parameter.
- Recieveing data does not quite work yet, but what needs to be done is wait until the rx line is pulled low(which is the start bit) and then call recieveByte(which is not completely done yet).