지금 baud rate설정이 올바른지 테스트하고 있습니다.
이렇게 하면 결과가 13으로 나오던데요..
올바르게 된건지 모르겠습니다.
제가 보기에는 올바른거 같은데요.. 왜 이렇게 나오죠..
[code:1]
#include <stdio.h>
#include <unistd.h>
#include <termios.h>
#include <fcntl.h>
#include <errno.h>
int main()
{
int fd;
static long baudrate;
struct termios tio;
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_NONBLOCK , 0644);
if(fd < 0) {