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

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.
主站蜘蛛池模板: 昭通市| 靖州| 资阳市| 贞丰县| 富民县| 岫岩| 遵义市| 宁阳县| 邓州市| 农安县| 凌云县| 密云县| 大埔县| 疏附县| 珲春市| 德庆县| 阿勒泰市| 永修县| 安顺市| 且末县| 博罗县| 新邵县| 沂源县| 奉化市| 林芝县| 容城县| 儋州市| 涟水县| 伽师县| 平远县| 桂阳县| 满洲里市| 辽中县| 崇州市| 东乌珠穆沁旗| 邯郸市| 夏邑县| 阜康市| 河津市| 平山县| 江永县|