图书介绍

树莓派高级编程(影印版)

树莓派高级编程(影印版)
  • Dogan,Ibrabim 著
  • 出版社: 东南大学出版社
  • ISBN:9787564159795
  • 版次:1
  • 商品编码:11789220
  • 出版时间:2015-09-01

微信扫码关注

淘宝优惠券

PDF下载

立即下载 备用下载

赞助商

图书目录

内容简介  《树莓派高级编程(影印版英文版)》讨论了基于Python编程语言的树莓派计算机高级编程技术。它通过简单的用语和示例解释了如下问题:如何配置树莓派计算机;如何安装和使用Linux操作系统和桌面;如何使用Python编程语言编写高级程序;如何在我们的程序中使用图形和如何使用树莓派开发硬件相关项目。
  《树莓派高级编程(影印版英文版)》一开始介绍了树莓派计算机,也谈到了需要购买的配件以及如何通过命令行来安装和操作Linux操作系统。通过简单的几步阐明了树莓派的网络接口,同时演示了如何通过台式机或者笔记本远程访问树莓派计算机。
  《树莓派高级编程(影印版英文版)》剩余部分详细讲述了Python编程语言,包括诸如操作系统调用、多任务、进程间同步和进程间通信这样一些高级技术。对采用UDP和TCP协议的网络编程主题也通过可以实际工作的例子加以描述。
  《树莓派高级编程(影印版英文版)》还使用示例窗口小部件和程序详细说明了Tkinter图形用户接口(GUI)模块。
  所有《树莓派高级编程(影印版英文版)》中给出的项目都经过了完整测试并且可以正常工作。这些项目的全部程序列表都有着详细的解释。目录Chapter1-IntroducingtheRaspberryPi
1.1TheRaspberryPiModels
1.2TheAnatomyoftheRaspberryPi
1.3SettingUpYourRaspberryPi
1.3.1PowerSupply
1.3.2Monitor
1.3.3TV
1.3.4USBKeyboardandMouse
1.3.5PoweredUSBHub
1.3.6SDCard
1.3.7Speakers
1.3.8Case
1.3.9USBFlashMemoryDrive
1.3.10USBFlashHardDisk
1.3.11USBWi-FiAdapter
1.4ConnectingEverythingTogether
1.5DownloadingandInstallingtheOperatingSystem
1.5.1DownloadingtheOperatingSystem
1.5.2InstallingtheOperatingSystemontotheSDCard
1.6LoggingintotheRaspberryPi
1.7Summary

Chapter2-ConnectingtheRaspberryPitoWiredNetwork.
2.1ConnectingtoaWiredNetwork
2.1.1UnabletoConnecttoaWiredNetwork
2.2ConnectingtoyourRaspberryPiRemotely
2.2.1TheSSHClient
2.3Summary

Chapter3-UsingtheDesktop
3.1InstallingtheVNCSoftware
3.2TheDesktopEnvironment
3.3TheTaskBar
3.4TheStartMenu
3.5UsingExternalUSBFlashMemoryDrive
3.6UsingWi-FiWithRaspberryPi
3.7Summary

Chapter4-UsingtheLinuxCommandLine
4.1TheCommandPrompt
4.2UsefulLinuxCommands
4.2.1TheDirectoryStructure
4.2.2CommandExamples
4.3ScreenCapture
4.4ForegroundandBackgroundProcessing
4.5TaskScheduling
4.5.1TaskSchedulingManagement
4.6LinuxScriptFiles
4.6.1Userinputtoscriptfiles
4.6.2Readingtextfromthekeyboard
4.6.3Conditionsinscriptfiles
4.6.4Loopsinscriptfiles
4.6.5Multipledecisions-Usingthecasestatement
4.6.6Scriptfunctions
4.7RunningaProgramorScriptAutomaticallyonSystemStartup..
4.7.1Using/etc/rc.local
4.7.2Usingcrontab
4.7.3Using/etc/init.d
4.8ResourceMonitoringonRaspberryPi
4.9AddingUsers
4.10RemovingUsers
4.11NetworkPrinting
4.12CommandAliases
4.13SDCardBackup
4.14ShuttingDown
4.15Summary

Chapter5-PythonProgramming
5.1StartingPython
5.2VariableNames
5.3ReservedWords
5.4Comments
5.5Indentation
5.6LineContinuation
5.7BlankLines
5.8MoreThanOneStatementonaLine
5.9PythonDataTypes
5.9.1NumericVariables
5.9.2StringVariables
5.9.3ListVariables
5.9.4TupleVariables
5.9.5DictionaryVariables
5.10PythonOperators
5.10.1ArithmeticOperators
5.10.2ComparisonOperators
5.10.3LogicalOperators
5.10.4AssignmentOperators
5.10.5BitwiseOperators
5.11ControlofFlow
5.11.1if,if.else,andelif
5.11.2forStatement
5.11.3whileStatement
5.11.4continueStatement
5.11.5breakStatement
5.12NumberTypeConversion
5.13TrigonometricFunctions
5.14MathematicalFunctions
5.15IntegerRandomNumberGeneration
5.16UsingNon-printableASCIICharacters
5.17PrintStatement
5.18StringManipulation
5.19StringFunctions
5.20ListFunctions
5.21DictionaryFunctions
5.22Date&TimeFunctions
5.23UserDefinedFunctions
5.24KeyboardInput
5.25Files
5.26Exceptions
5.27ObjectOrientedProgramming
5.28ExamplePrograms
5.28.1UsingtheEditortoCreatePrograms
5.29ArgumentList
5.30Summary

Chapter6-PythonGraphicsUserInterface(GUI)Programming
6.1UsingtheLabelWidget
6.2AddingaButtonWidget
6.3TheEntryWidget
6.4TheTextWidget
6.5PromptedInput
6.6PlacingWidgets
6.6.1Defaultpacking
6.6.2Packingtoaside
6.7Usingthegrid()method
6.8TheMessageboxWidget
6.9TheSpinboxWidget
6.10TheScaleWidget
6.11TheListboxWidget
6.12TheMessageWidget
6.13TheRadiobuttonWidget
6.14TheCheckbuttonWidget
6.15TheMenubuttonWidget
6.16TheCanvasWidget
6.17Examples
6.18Summary

Chapter7-PythonNetworkProgramming
7.1SendingE-mail
7.2WebServerProgram
7.3SocketProgramming
7.4Summary

Chapter8-PythonSystemsProgramming
8.1ThesysModule
8.2TheosModule
8.2.1Runningshellcommands
8.3Multitasking
8.3.1ProcessForks
8.3.2ProcessThreads
8.3.3Processspawncalls
8.3.4Multiprocessingprocesscalls
8.3.5Interprocesssynchronisation
8.3.6Inter-processcommunication
8.4Summary

Chapter9-RaspberryPiHardwareInterfacing
9.1GPIOPinDefinitions
9.2RaspberryPiHardwareDevelopmentBoardsandHardwareTools
9.2.1PiCobbler
9.2.2PiPlate
9.2.3T-Cobbler
9.2.4PiFace
9.2.5RasPiComm-PiggybackExtensionBoard
9.2.6PiBorg-TriBorg-GPIOTripleHeaderExtender
9.2.7Gertboard
9.2.8BerryClip-LEDandBuzzer
9.2.9MyPi-PushYourPi-8LED&8ButtonBreakoutBoard
9.2.10RaspberryPiElectronicStarterKit
9.2.11StarterKit-AforRaspberryPi
9.2.12CameraBoard
9.2.13RaspiRobotBoard
9.2.14LCDwithKeypad
9.2.15RaspberryPiExpansionBoard
9.2.16RaspberryPiKanoStarterKit
9.2.17RTCPi
9.2.18ADCPi
9.3Summary

Chapter10-RaspberryPiGPIOSoftware
10.1InstallingtheRPiGPIOLibrary
10.2RPiGPIOLibraryFunctions
10.2.1PinNumbering
10.2.2Channel(I/Opin)Configuration
10.3WiringpiLibrary
10.4ProgramDevelopment
10.4.1UsingtheProgramDescriptionLanguageandFlowCharts
10.4.2CallingSubprograms
10.4.3SubprogramStructure
10.5Examples
10.6RepresentingforLoopsinFlowCharts
10.7Summary

Chapter11-RaspberryPiHardwareProjects
11.1PROJECT1-FlashinganLED
11.2PROJECT2-IndependentlyFlashing3LEDs
11.3PROJECT3-IndependentlyFlashing3LEDsWithEventFlags
11.4PROJECT4-FlashingLEDWithPush-ButtonSwitch-Multitasking.
11.5PROJECT5-LEDwithGraphicalUserInput
11.6PROJECT6-WebServerLEDControl
11.7PROJECT7-WebServerUsingflask
11.8PROJECT8-GUIBasedLightDimmer
11.9PROJECT9-Using4x4Keypad
11.10PROJECT10-CalculatorUsing4x4Keypad
11.11PROJECT11-DisplayingtheTemperature
11.12PROJECT12-SendingtheTemperaturetoaPCOvertheNetwork
11.13PROJECT13-TemperatureandHumidityDisplay
11.14PROJECT14-UsingDACtoChangeLEDBrightness
11.15PROJECT15-ThePiFaceI/OBoard
11.16PROJECT16-PiFaceDCMotorController
11.17PROJECT17-PiFaceStepperMotorController

AppendixAPDLandProgramListings
A.1Programlisting-Solution5.3
A.2PDLlisting-PROJECT2
A.3ProgramListing-PROJECT2
A.4ProgramListing-PROJECT2-ModifiedListing
A.5PDLListing-Project3
A.6ProgramListing-Project3
A.7ProgramListing-Project4
A.8ProgramListing-Project4-Modified
A.9PDLListing-Project5
A.10ProgramList-Project5
A.11ProgamListing-Project9
A.12PDLListing-Project10
A.13ProgramListing-Project10
A.14ProgramListing-Project11
A.15ProgramListing-Project11-Modified
A.16PDLListing-Project12
A.17UDPServerProgram-Project12
A.18PDLListing-Project13
A.19ProgramListing-Project13
A.20ProgramListing-Project14
A.21ProgramListing-Project15-PIFACE-I.py
A.22ProgramListing-Project15-PIFACE-2.py
A.23ProgramListing-Project15-PIFACE-3.py
A.24ProgramListing-Project16

Index查看全部↓

查看全部 ↓

精品推荐