VUSB-Firmware for Attiny85 implementing HMAC one time password authentication
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
277 B

#ifndef _USART_H
#define _USART_H
#include <avr/io.h>
#ifdef DEBUG
#define MYUBRR 8 /*BAUD=115200*/
void initUSART();
void tx( char data );
void sendstr( char* str);
void sendunum(uint32_t num);
void tx_hex(uint8_t c);
char rx( void );
#endif //DEBUG
#endif //_USART_H