{"id":24989038,"url":"https://github.com/ktauchathuranga/morse-encoder","last_synced_at":"2025-10-29T15:31:10.441Z","repository":{"id":193293391,"uuid":"688463694","full_name":"ktauchathuranga/morse-encoder","owner":"ktauchathuranga","description":"Arduino Library for Encoding Data to Morse Code (Audio and Light).","archived":false,"fork":false,"pushed_at":"2024-12-03T14:17:07.000Z","size":73,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T12:13:38.734Z","etag":null,"topics":["arduino","arduino-library","hacktoberfest","morse-code","morse-code-encoder","morsecode"],"latest_commit_sha":null,"homepage":"https://docs.arduino.cc/libraries/morseencoder/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ktauchathuranga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ktauchathuranga"}},"created_at":"2023-09-07T12:02:07.000Z","updated_at":"2025-01-31T08:00:17.000Z","dependencies_parsed_at":"2024-12-03T05:24:38.794Z","dependency_job_id":"f26cbd87-83b2-485f-9008-0d26f79c5cfe","html_url":"https://github.com/ktauchathuranga/morse-encoder","commit_stats":null,"previous_names":["ktauchathuranga/morseencoder"],"tags_count":13,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktauchathuranga%2Fmorse-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktauchathuranga%2Fmorse-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktauchathuranga%2Fmorse-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktauchathuranga%2Fmorse-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktauchathuranga","download_url":"https://codeload.github.com/ktauchathuranga/morse-encoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238841943,"owners_count":19539840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-library","hacktoberfest","morse-code","morse-code-encoder","morsecode"],"created_at":"2025-02-04T12:13:53.168Z","updated_at":"2025-10-29T15:31:10.092Z","avatar_url":"https://github.com/ktauchathuranga.png","language":"C++","funding_links":["https://github.com/sponsors/ktauchathuranga"],"categories":[],"sub_categories":[],"readme":"# **MorseEncoder**\n### _Morseencoder is an Arduino library for encoding data to Morse code (Audio and light)._\nIntroducing the MorseEncoder library, a tool that converts various data types to Morse codes, including **integers, longs, characters, character arrays, and strings.** it can be encoded as [AUDIO](https://github.com/ktauchathuranga/MorseEncoder/blob/main/examples/MorseEncoder_EXAMPLE_AUDIO/MorseEncoder_EXAMPLE_AUDIO.ino) or [LIGHT](https://github.com/ktauchathuranga/MorseEncoder/blob/main/examples/MorseEncoder_EXAMPLE_LIGHT/MorseEncoder_EXAMPLE_LIGHT.ino) by your choice.\n##### Currently supported characters[53] : **`ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789.:,;?=/!-_\"()$@\u0026+`**\n\n***\n## Installation\n\n1. Go to the [```Releases```](https://github.com/ktauchathuranga/MorseEncoder/releases) Page and download the latest version. \n2. Use the Arduino Library Manager to install MorseEncoder.\n\n```bash\nSketch -\u003e Include Library -\u003e Add .ZIP Library...\n```\n\nAlso, you can install the library directly from the Library Manager in the IDE.\n\n```\nSketch -\u003e Include Library -\u003e Library Manger... -\u003e Search for - MorseEncoder\n```\n## Usage\n\n```c++\n#include \"MorseEncoder.h\"\n\nMorseEncoder morseA(9);       // Initialize with the desired pin for Audio **PWM pins only\nMorseEncoder morseL(13);      // Initialize with the desired pin for Light\n\nvoid setup() {\n  morseA.beginAudio(15, 500); // [AUDIO] Initialize WPM (word per minute) rate and frequency\n  morseL.beginLight(15);      // [LIGHT] Initialize WPM (word per minute) rate\n}\n\nvoid loop() {\n  String message = \"sos\";\n  morseA.print(message);   // [AUDIO] Broadcast encoded audio\n  delay(2000);\n  morseL.print(message);   // [LIGHT] Broadcast encoded light\n  delay(2000);\n}\n```\nor you can navigate to the Examples section of the Arduino IDE and find the example code there!\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\nPlease make sure to update tests as appropriate.\nand a big thanks goes to the dev friends in this [Arduino Forum](https://forum.arduino.cc/t/i-need-help-with-my-library/1167276)\n\n## License\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktauchathuranga%2Fmorse-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktauchathuranga%2Fmorse-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktauchathuranga%2Fmorse-encoder/lists"}