Morse code weather data

In Chapter 2, Writing Python Programs Using Raspberry Pi, we wrote code that simulates calls to a web service that supplies weather information. Taking what we learned in this chapter, let's revisit that code and give it a physical computing upgrade. We will use our LED to flash a Morse code representation of our weather data.

Many of us believe that the world only started to become connected in the 1990s with the World Wide Web. Little do we realize that we already had such a world beginning in the 19th century with the introduction of the telegraph and trans-world telegraph cables. The language of this so-called Victorian Internet was Morse code, with the Morse code operator as its gate keeper.

The following are ...

Get Internet of Things Programming Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.