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

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.
主站蜘蛛池模板: 怀化市| 临泉县| 临城县| 若尔盖县| 惠安县| 蓝山县| 上杭县| 定日县| 张家口市| 西华县| 莎车县| 五莲县| 绥棱县| 塔河县| 运城市| 百色市| 宣威市| 延庆县| 儋州市| 迭部县| 岑巩县| 通城县| 广汉市| 梓潼县| 华蓥市| 龙胜| 弥渡县| 白河县| 郸城县| 中阳县| 德钦县| 天水市| 香港| 浦北县| 周口市| 左权县| 尉犁县| 民乐县| 云浮市| 大田县| 花垣县|