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

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.
主站蜘蛛池模板: 南阳市| 望江县| 化德县| 贞丰县| 盐山县| 宁海县| 宁津县| 嘉禾县| 冷水江市| 商洛市| 沂源县| 合川市| 手游| 沧州市| 元朗区| 探索| 北海市| 蕉岭县| 龙海市| 竹北市| 玉溪市| 高密市| 隆化县| 元谋县| 孙吴县| 鄂尔多斯市| 永泰县| 鄯善县| 黄石市| 赞皇县| 乐陵市| 类乌齐县| 莲花县| 永登县| 深州市| 安溪县| 宁乡县| 长顺县| 阿克苏市| 清远市| 舞钢市|