avr/morse/morse.h

20 lines
299 B
C

#ifndef __MORSE_H__
#define __MORSE_H__
#include <stdint.h>
#include <stdlib.h>
#include <base.h>
/* TODO: make this parameterizable */
#define DOT 1
#define DASH 3
#define DIVIDER 1
#define INTERCHAR 3
#define INTERWORD 4
#define SCALE 100
void send_morse(gpio_t *gpio, char *message);
#endif