I'm just researching a project to communicate with a piece of serial equipment.
I hope to be using an ATTINY841 for the controller.
I know basic serial port usage with serial.begin(4800), serial.read() etc. as I have already used this library for another serial project.
With the new project the data packet involved is formatted as such:
1 start bit
8 data bits
1 command bit
1 stop bit
Can the serial library be used to read the serial frame dictated above or will I need to find another way of reading the data stream?
Are the start and stop bits dealt with by the USART automatically? If so I can discount them. There has been a suggestion the command bit could be exposed via the parity bit, but this would also depend on if the parity bit is passed into the data or processed by the UART.