第35讲:智能温度测量系统(综合实验)c python import RPi.GPIO as GPIO import importlib import time import sys # BOARD pin numbering LedR = 11 LedG = 12 LedB = 13 Buzz = 15 #ds18b20 = '28-031467805fff' #location = '/sys/bus/w1/devices/' + ds18b20 + '/w1_slave' joystick = importlib.import_module('15_joystick_PS2') ds18b20 = importlib.import_module('26_ds18b20') beep = importlib.import_module('10_active_buzzer') rgb = importlib.import_module('02_rgb_led') joystick.setup() ds18b20.setup() beep.setup(Buzz) rgb.setup(LedR, LedG, LedB) color = {'Red':0xFF0000, 'Green':0x00FF00, 'Blue':0x0000FF} def setup(): global lowl, highl lowl = 29 highl = 31 def edge(): global lowl, highl temp = joystick.direction() if temp == 'Pressed': destroy() quit() if temp == 'up' and lowl < highl-1: highl += 1 if temp == 'down' and lowl >= -5: highl -= 1 if temp == 'right' and highl <= 125: lowl += 1 if temp == 'left' and lowl < highl-1: lowl -= 1 def loop(): while True: edge() temp = ds18b20.read() print 'The lower limit of temperature : ', lowl print 'The upper limit of temperature : ', highl print 'Current temperature : ', temp if float(temp) < float(lowl): rgb.setColor(color['Blue']) for i in range(0, 3): beep.beep(0.5) if temp >= float(lowl) and temp < float(highl): rgb.setColor(color['Green']) if temp >= float(highl): rgb.setColor(color['Red']) for i in range(0, 3): beep.beep(0.1) def destroy(): beep.destroy() joystick.destroy() ds18b20.destroy() rgb.destroy() GPIO.cleanup() if __name__ == "__main__": try: setup() loop() except KeyboardInterrupt: destroy()
2022-05-27 11:05:39 3KB 树莓派
1
从1977年到2012年,我们看到了围绕信息安全主题进行的大量研究。 与信息安全研究相比,信息系统研究如何进行? 我们的研究旨在就主题,理论和使用的方法对过去35年的信息系统(IS)和信息安全(InfoSec)研究进行比较。 我们分析了23种不同期刊和会议的1,588篇论文。 我们发现安全研究受到了IS和InfoSec研究人员的高度关注。 尽管在这两个学科中都对大多数安全主题进行了同样的研究,但我们发现更多地侧重于IS(例如经济学)或InfoSec(例如访问控制)网点中的某些主题。 在方法和理论上,两个学科都有相似的结果,这表明所有论文中有57%没有任何理论基础,有81%的论文使用“主观论证”方法来支持其工作。
2022-05-25 11:37:36 433KB information security information systems
1
1.2 客户端安装 msysgit 下载:https://msysgit.github.io/ TortoiseGit 下载:http://download.tortoisegit.org/tgit/1.8.14.0/ 1.2.1 安装 msysgit 1、msysgit下载:https://msysgit.github.io/,如下图 1 图 1 写文档目前最新版本为 Git-1.9.5-preview20150319.exe,下载后安装,安装过程如下: 2、点击启动如下图 2
2022-05-24 22:58:53 2.46MB git git手册 git操作手册 gitlab手册
1
单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码动态显示(基于8051+Proteu
2022-05-23 11:07:03 26KB 单片机C语言程序设计35定时器
单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基于8051+Proteus仿真)单片机C语言程序设计35 定时器控制数码管动管显示(基
2022-05-23 11:07:02 34KB 单片机C语言程序设计35定时器
单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Proteus仿真)单片机C语言程序设计35 光耦控制点亮和延时关闭照明设备(基于8051+Prot
2022-05-23 11:07:01 24KB 单片机C语言程序设计35光耦控
夏季防雷电安全知识(35页).pptx,这是一份不错的文件
2022-05-17 19:00:33 7.39MB 安全 文档资料 文档
35-220kV支柱瓷绝缘子技术规范书.doc.doc
2022-05-17 17:06:11 195KB 文档资料
中文名: 计算理论书籍合集 原名: Computation Theory Book Collection 作者: Shawn Hedman Madhu Sudan Herbert S. Wilf 等资源格式: PDF 出版社: Oxford University Press, Springer等书号: 0198529805 地区: 美国 语言: 英文 简介: 目录: 01. A first Course in Logic An Introduction To Model Theory Proof Theory Computability And Complexity - Shawn Hedman(djvu) 02. Advanced Complexity Theory Lctn - Madhu Sudan(pdf) 03. Algorithm and Complexity Lctn - Herbert S. Wilf(pdf) 04. Algorithms and Theory of Computation Handbook - Mikhail J. Atallah(djvu) 05. An Introduction to Formal Language Theory that Integrates Experimentation and Proof - Allen Stoughton(pdf) 06. An Introduction To Recursive Function Theory -Nigel Cutland(pdf) 07. An Introduction to the Theory of Computation - Eitan Gurari(pdf) 08. CLASSICAL RECURSION THEORY The Theory of Functions and Sets of Natural Numbers - Piergiorgio Odifreddi(djvu) 09. Complexity of Algorithms Lctn - Peter Gacs(pdf) 10. Computation Complexity Lctn - Laszlo Lovasz(pdf) 11. Computational Complexity - Christos Papadimitriou(djvu) 12. Computational Complexity A Conceptual Perspective - Oded Goldreich(pdf) 13. Computational Complexity A Modern Approach - Sanjeev Arora(pdf) 14. Computers And Intractability A Guide To The Theory Of Np-Completeness - Michael Garey(djvu) 15. Elementary Recursion Theory and its Applications to Formal Systems - Saul Kripke(pdf) 16. Elemnts Of The Theory Of Computation 2d ed - Harry Lewis(djvu) 17. Essentials of Theoretical Computer Science - F. D. Lewis(pdf) 18. Goldreich O. Introduction to Complexity Theory (lectures, 1999)(T)(375s)(djvu) 19. Goldreich O. Introduction to complexity theory, lecture notes (1999)(375s)(pdf) 20. Introduction To Automata Theory Languages , and Computation - John Hopcroft(djvu) 21. Introduction to Complexity Theory Lecture Notes - Oded Goldreich(pdf) 22. Introduction To The Theory Of Computation - Michael Sipser(djvu) 23. Kolmogorov Complexity and Computational Complexity - Osamu Watanabe(djvu) 24. Lecture Notes for Introduction to Theory of Computation - Robert Daley(pdf) 25. Lecture Notes On Algorithm Analysis And Computation Complexity 4th ed - Ian Parberry(pdf) 26. Lewis H.R., Papadimitriou C.H. Elements of the Theory of Computation (2ed., PH, 1998)(ISBN 0132624788)(K)(T)(375s)(djvu) 27. Models of Computation - An Introduction to Computability Theory (Undergrad Topics in CS), Springer (2009)(pdf) 28. Oxford University Press - A First Course in Logic - An Introduction to Model, Proof Theory, Computability, and Complexity - 2006(pdf) 29. Parallel Complexity Theory - Ian Parberry(pdf) 30. Recursion Theory for Metamathematics - RAYMOND M. SMULLYAN(djvu) 31. Rothe J. Complexity theory and cryptology.. an introduction to cryptocomplexity (TTCS, Springer, 2005)(ISBN 3540221476)(487s)(pdf) 32. Springer - Computational Probability - Algorithms and Applications in the Mathematical Sciences - 2008(pdf) 33. The Complexity of Boolean Functions - Ingo Wegener(pdf) 34. The Computational Complexity of Machine Learning - Michael J. Kearns(pdf) 35. Theory of Computation Lecture Notes - Abhijat Vichare(pdf)
2022-05-17 16:24:15 134.29MB 计算理论
1
【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Starter Kit for PlayMaker【PlayMaker外星战役工具包-附完整项目$35】Shmup Sta
2022-05-14 11:05:07 13.42MB 源码软件