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

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.
主站蜘蛛池模板: 陕西省| 启东市| 宿松县| 博罗县| 景宁| 大冶市| 绿春县| 南阳市| 湖北省| 柘荣县| 福州市| 临夏市| 汉中市| 雅江县| 甘南县| 定襄县| 华亭县| 千阳县| 玛沁县| 莫力| 宜春市| 柞水县| 武山县| 航空| 乌鲁木齐市| 西乌珠穆沁旗| 肇州县| 崇义县| 阿拉善右旗| 西盟| 淳化县| 甘洛县| 禹城市| 涿州市| 荣昌县| 临夏县| 尚义县| 苗栗市| 安化县| 石景山区| 景东|