ESR-2025/morse.h

24 lines
444 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* @file morse.h
* @brief Public API for Morse code LED blinking.
*/
#ifndef MORSE_H
#define MORSE_H
#include <stdint.h>
/**
* @brief Initialize LED output pin (P1.0) for Morse blinking.
*/
void morseInit(void);
/**
* @brief Blink an alphanumeric character in Morse code.
*
* Supports AZ (case-insensitive) and 09. Others are ignored.
* @param c Character to blink
*/
void blinkMorseChar(char c);
#endif // MORSE_H