Skip to content

Commit

Permalink
change baud 9600 to 1200
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasily A committed Mar 15, 2016
1 parent 11011e1 commit 69a45b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rotator/rotator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 69a45b2

Please sign in to comment.