Arduino Morse Code Translator by Elif AVCU
Author:Elif AVCU [AVCU, Elif]
Language: eng
Format: epub
Published: 2020-03-01T17:00:00+00:00
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
char ch;
if (Serial.available())
{
ch = Serial.read(); // read a single letter if (ch >= 'a' && ch <= 'z')
if (ch >= 'a' && ch <= 'z')
{
flashSequence(letters[ch - 'a']);
}
else if (ch >= 'A' && ch <= 'Z') {
flashSequence(letters[ch - 'A']); }
else if (ch >= '0' && ch <= '9') {
flashSequence(numbers[ch - '0']); }
else if (ch == ' ') {
delay(dotDelay * 4);
}
}
}
void flashSequence(char* sequence) {
int i = 0;
while (sequence[i] != NULL) {
flashDotOrDash(sequence[i]);
i++; }
delay(dotDelay * 3);
}
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Embedded Programming with Modern C++ Cookbook by Igor Viarheichyk(4091)
Linux Device Driver Development Cookbook by Rodolfo Giometti(4022)
Implementing Cellular IoT Solutions for Digital Transformation by Dennis McCain(4006)
Embedded Linux Development Using Yocto Project - Third Edition by Otavio Salvador & Daiane Angolini(3868)
TinyML Cookbook by Gian Marco Iodice(3769)
Simplifying 3D Printing with OpenSCAD by Colin Dow(2904)
TinyML Cookbook by Gian Marco Iodice & Ronan Naughton(2659)
Fusion 360 for Makers by Lydia Sloan Cline(2308)
Networking A Beginner's Guide by Bruce Hallberg(2290)
Hands-On Linux for Architects by Denis Salamanca(2132)
Computers For Seniors For Dummies by Nancy C. Muir(2106)
But How Do It Know? by J. Clark Scott(2079)
Raspberry Pi and MQTT Essentials by Dhairya Parikh(2040)
Arduino Project Handbook, Volume 2: 25 Simple Electronics Projects for Beginners by Geddes Mark(1999)
9781803246888-ENHANCING DEEP LEARNING WITH BAYESIAN INFERENCE by Unknown(1970)
Hack and HHVM by Owen Yamauchi(1956)
31 Days Before Your CompTIA A+ Exams (Shanette Luellen's Library) by Benjamin Patrick Conry(1922)
Hands-On Internet of Things with MQTT by Tim Pulver(1828)
MicroPython Projects by Jacob Beningo(1818)