EasyManuals Logo

Arduino Pro Mini User Manual

Arduino Pro Mini
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #94 background imageLoading...
Page #94 background image
public:
void output_symbol(const int length) {
// ...
}
};
class Speaker : public OutputDevice {
public:
void output_symbol(const int length) {
// ...
}
};
You can then use these classes as follows:
Led led;
Speaker speaker;
OutputDevice* led_device = &led;
OutputDevice* speaker_device = &speaker;
led_device->output_symbol(200);
speaker_device->output_symbol(200);
The rest is up to you.
Try to learn Morse code. Let someone else type some messages into the
serial terminal and try to recognize what that person sent. This isnt
necessary for learning Arduino development, but its a lot of fun!
report erratum discuss
Exercises 75
www.it-ebooks.info

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino Pro Mini and is the answer not in the manual?

Arduino Pro Mini Specifications

General IconGeneral
BrandArduino
ModelPro Mini
CategoryMotherboard
LanguageEnglish

Related product manuals