Subversion Repositories group.electronics

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
122 pfowler 1
#include <avr/io.h>
2
#include "uart.h"
3
 
4
#include "Serial.hpp"
5
 
6
void Serial::begin(long baud) {
7
  this->begin(baud, SERIAL_8N1);
8
}
9
 
10
 
11
void Serial::begin(long baud, int config) {
12
  uart_init( UART_BAUD_SELECT(baud,F_CPU) );
13
}