- Python Programming with Raspberry Pi
- Sai Yamanoor Srihari Yamanoor
- 117字
- 2021-07-02 23:48:43
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.
推薦閱讀
- 玩轉(zhuǎn)智能機(jī)器人程小奔
- 我的J2EE成功之路
- 計(jì)算機(jī)網(wǎng)絡(luò)應(yīng)用基礎(chǔ)
- Windows 7寶典
- Ceph:Designing and Implementing Scalable Storage Systems
- 控制系統(tǒng)計(jì)算機(jī)仿真
- Nginx高性能Web服務(wù)器詳解
- PVCBOT機(jī)器人控制技術(shù)入門
- Red Hat Linux 9實(shí)務(wù)自學(xué)手冊
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- 智能生產(chǎn)線的重構(gòu)方法
- 基于企業(yè)網(wǎng)站的顧客感知服務(wù)質(zhì)量評價(jià)理論模型與實(shí)證研究
- 空間機(jī)械臂建模、規(guī)劃與控制
- 從零開始學(xué)SQL Server
- Spark大數(shù)據(jù)商業(yè)實(shí)戰(zhàn)三部曲:內(nèi)核解密|商業(yè)案例|性能調(diào)優(yōu)