O'Reilly logo

Learning Raspberry Pi by Samarth Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing an e-mail notifier

This section is an extension of the digital clock that you have developed in the previous section. In addition to all the components mentioned in the previous section, you will require one green LED and one red LED for displaying the status. In this section, you will develop an e-mail notifier, which will turn red if you have any unread e-mails and it will turn green if you have no unread e-mails. This will also show the count of unread messages on the LCD by using the code that you have developed in the previous section.

Connecting LCD pins and Raspberry Pi GPIO pins

As this is an extension of the previous section, first make sure you have connected the LCD pins and Raspberry GPIO pins as mentioned previously. In addition ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required