Skip to Content
Learning Raspberry Pi
book

Learning Raspberry Pi

by Samarth Shah, Serge Schneider
April 2015
Beginner
258 pages
5h 30m
English
Packt Publishing
Content preview from Learning Raspberry Pi

Developing an alarm clock

After developing two projects, you must be confident working with Raspberry Pi GPIO, LED and LCD. In this section, apart from a little bit of more coding, you will be using one or more pieces of hardware, which is a speaker with Raspberry Pi. You will develop an alarm clock that will be turned on at specific time set by the user and it will turn off only when the user answers two simple mathematical questions correctly. Similar to the previous section, in this section, you will be reusing the LCD code that was developed in the digital clock section.

Connecting LCD pins, Raspberry Pi GPIO pins, and a speaker

As this is an extension of a digital clock section, first make sure that you have connected the LCD pins and Raspberry ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering the Raspberry Pi

Mastering the Raspberry Pi

Warren W. Gay
Raspberry Pi Hacks

Raspberry Pi Hacks

Ruth Suehle, Tom Callaway

Publisher Resources

ISBN: 9781783982820