官术网_书友最值得收藏!

Arithmetic Operations, Loops, and Blinky Lights

In the previous chapter, we discussed printing a line of text on the screen. In this chapter, we will review arithmetic operations and variables in Python. We will also discuss strings and accepting user inputs in Python. You will learn about the Raspberry Pi's GPIO and its features and write code in Python that makes an LED blink using the Raspberry Pi's GPIO. We will also discuss a practical application of controlling the Raspberry Pi's GPIO.

In this chapter, we will cover the following topics:

  • Arithmetic operations in Python
  • Bitwise operators in Python
  • Logical operators in Python
  • Data types and variables in Python
  • Loops in Python
  • Raspberry Pi Zero's GPIO interface.
主站蜘蛛池模板: 徐闻县| 玛多县| 阿荣旗| 海丰县| 桃江县| 遂宁市| 宣化县| 合作市| 耒阳市| 类乌齐县| 东方市| 云林县| 淅川县| 荣成市| 枣庄市| 五大连池市| 阳新县| 武邑县| 深泽县| 兴山县| 崇义县| 滁州市| 平江县| 常德市| 安龙县| 工布江达县| 读书| 赫章县| 盐源县| 延长县| 眉山市| 侯马市| 永春县| 长治市| 广汉市| 葵青区| 永寿县| 和田市| 安庆市| 河源市| 玉龙|