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

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.
主站蜘蛛池模板: 陕西省| 灵武市| 重庆市| 乌拉特后旗| 墨竹工卡县| 清涧县| 余庆县| 武平县| 巩留县| 鹤峰县| 河东区| 周口市| 龙南县| 宿迁市| 永寿县| 大连市| 衡山县| 梁山县| 台湾省| 玉环县| 四会市| 嘉定区| 崇仁县| 东乡县| 高淳县| 龙泉市| 肥乡县| 集安市| 青阳县| 广德县| 佛坪县| 崇阳县| 绥中县| 霍州市| 左权县| 杭锦后旗| 成武县| 峨山| 水城县| 淄博市| 正蓝旗|