24 lines
444 B
C
24 lines
444 B
C
/**
|
||
* @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 A–Z (case-insensitive) and 0–9. Others are ignored.
|
||
* @param c Character to blink
|
||
*/
|
||
void blinkMorseChar(char c);
|
||
|
||
#endif // MORSE_H
|