July 2017
Beginner to intermediate
352 pages
7h 30m
English
So far, we’ve controlled things with an Espruino board, but apart from the USB connection to the PC we haven’t actually communicated with any other devices.
Suppose we wanted to communicate with another Espruino board, turn a television on and off, or even connect to the internet. We need some way of turning our data (at the basic level, made up out of a series of bits) into something that we can transmit, and then we need a way to reconstruct it.
Perhaps the most obvious example of transmitting data is Morse code. A series of short and long beeps is used to transmit characters of text over the radio.
For example, if we use . for a short beep, and - for a long beep, the codes for various characters are:
| A .- ... |
Read now
Unlock full access