22
33A simple Arduino library for decoding Morse code.
44It provides a lookup table and functions to translate Morse sequences (` . ` and ` - ` ) into letters and numbers.
5- Reusable across projects for IoT, communication experiments, and custom input devices.
5+ Reusable across projects for IoT, communication experiments, and custom input devices.
66
77---
88
99## Features
10+
1011- Decode Morse sequences (e.g. ` ".-" → A ` ).
1112- Supports ** A–Z** and ** 0–9** .
1213- Lightweight: uses only a lookup table and string compare.
@@ -17,9 +18,11 @@ Reusable across projects for IoT, communication experiments, and custom input de
1718## Installation
1819
1920### Method 1: Arduino IDE Library Manager
21+
2022_ Not yet published to Library Manager – coming soon._
2123
2224### Method 2: Manual Installation
25+
23261 . Download or clone this repo:
2427 ``` bash
2528 git clone https://github.com/aryankajiwala/Morse.git
@@ -28,7 +31,7 @@ _Not yet published to Library Manager – coming soon._
2831 ```
2932 Documents/Arduino/libraries/Morse/
3033 ```
31- 3 . Restart Arduino IDE.
34+ 3 . Restart Arduino IDE.
32354 . Include the library in your sketch:
3336 ``` cpp
3437 #include < Morse.h>
@@ -38,7 +41,8 @@ _Not yet published to Library Manager – coming soon._
3841
3942## Usage
4043
41- ### Simple Test
44+ ### Simple Test
45+
4246``` cpp
4347#include < Morse.h>
4448
@@ -55,27 +59,32 @@ void loop() {
5559```
5660
5761** Output:**
62+
5863```
5964Decoded: A
6065```
6166
6267---
6368
6469## API Reference
70+
6571### ` char decodeMorse(const char* code) `
66- - ** Input:** Morse sequence as ` const char* ` (e.g., ` ".-" ` ).
67- - ** Output:** Corresponding ASCII character (` 'A' ` ) or ` '?' ` if unknown.
72+
73+ - ** Input:** Morse sequence as ` const char* ` (e.g., ` ".-" ` ).
74+ - ** Output:** Corresponding ASCII character (` 'A' ` ) or ` '?' ` if unknown.
6875
6976---
7077
7178## Roadmap
72- - [ ] Add ** encoder function** (` encodeMorse('A') → ".-" ` ).
73- - [ ] Add support for ** punctuation** (` . , ? ! ` ).
74- - [ ] Publish to Arduino Library Manager.
79+
80+ - [ ] Add ** encoder function** (` encodeMorse('A') → ".-" ` ).
81+ - [ ] Add support for ** punctuation** (` . , ? ! ` ).
82+ - [ ] Publish to Arduino Library Manager.
7583
7684---
7785
7886## Author
87+
7988** Aryan Kajiwala**
8089📧 aryanbkaji124@gmail.com
8190🔗 [ GitHub] ( https://github.com/AryanKaji )
0 commit comments