All pastes #275033 Raw Edit

Something

public text v1 · immutable
·published 2006-12-11 04:31 UTC
rendered paste body
#include <avr/io.h>
#include <avr/iom8.h>
#include "global.h"		
#include "uart.h"
#include "rprintf.h" 

int main(void)
{
	// initialize the UART (serial port)
	uartSetBaudRate(9600);
	uartInit();
	//all rprintf statements use uart for output
	rprintfInit(uartSendByte);
	// print a little intro message
	rprintf("Welcome to the UART test!\r\n");
	while(1){};

	return 0;
}