Subversion Repositories group.electronics

Rev

Blame | Last modification | View Log | RSS feed

#include <avr/io.h>
#include "uart.h"

#include "Serial.hpp"

void Serial::begin(long baud) {
  this->begin(baud, SERIAL_8N1);
}


void Serial::begin(long baud, int config) {
  uart_init( UART_BAUD_SELECT(baud,F_CPU) );
}