mrf24j40/test/usart.h

15 lines
197 B
C
Raw Normal View History

2021-09-09 00:27:09 +00:00
#pragma once
#include <stdio.h>
namespace usart
{
void init(unsigned long baud);
void put(char data );
char get();
int put_printf(char var, FILE *stream);
} // namespace usart