From 69a45b28837c6280f90d33515aaec163e0559050 Mon Sep 17 00:00:00 2001 From: Vasily A Date: Tue, 15 Mar 2016 17:36:20 +0300 Subject: [PATCH] change baud 9600 to 1200 --- README | 2 +- rotator/rotator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index c5b1782..6ee70fd 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ Computer Control Interface for Antenna Rotators COM port settings: -9600 baud, 8 data bits, 1 stop bit, no parity, no handshake +1200 baud, 8 data bits, 1 stop bit, no parity, no handshake Angles: 0-45 north diff --git a/rotator/rotator.h b/rotator/rotator.h index 5986038..3b885ec 100644 --- a/rotator/rotator.h +++ b/rotator/rotator.h @@ -9,7 +9,7 @@ #ifndef ROTATOR_H_ #define ROTATOR_H_ -#define UART_UBRR 51 /* 9600 bps at 8MHz (0.2% error) */ +#define UART_UBRR 416 /* 1200 bps at 8MHz (0.2% error) */ #define TOP_TIMER2 249 /* 2mS at 8000000/64 */ #define KEY_HOLD_T 255U