This brings in an implementation of some general matrix manipulation routines, not all of which are used at teh moment. Output the DCM on the UART at 50Hz for the host to display it usefully.
15 lines
243 B
C
15 lines
243 B
C
#ifndef __UART_H
|
|
#define __UART_H
|
|
|
|
#include "types.h"
|
|
|
|
void init_uart(void);
|
|
void putch(char c);
|
|
void putstr(char *s);
|
|
void putint(unsigned int n);
|
|
void putint_s(int n);
|
|
void puthex(unsigned int n);
|
|
bool getch(char *c);
|
|
|
|
#endif /* __UART_H */
|