We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b46aad2 commit 9672acdCopy full SHA for 9672acd
stub/gpiozero/__init__.py
@@ -0,0 +1,32 @@
1
+class CPUTemperature:
2
+ def __init__(self):
3
+ pass
4
+
5
+ @property
6
+ def temperature(self):
7
+ return 50.0
8
9
+class BoardInfo:
10
+ model = 'Raspberry Pi 3 Model B'
11
+ revision = 'a02082'
12
+ released = 'Q1 2016'
13
+ manufacturer = 'Sony UK'
14
+ soc = 'BCM2837'
15
+ pcb_revision = '1.2'
16
+ memory = '1GB'
17
+ storage = 'MicroSD'
18
+ usb = '4'
19
+ usb3 = '0'
20
+ ethernet = '1'
21
+ eth_speed = '100M'
22
+ wifi = 'b/g/n'
23
+ bluetooth = '4.1'
24
25
+class PinFactory:
26
+ board_info = BoardInfo
27
28
+class Device:
29
+ pin_factory = PinFactory
30
31
32
stub/uptime/__init__.py
@@ -0,0 +1,2 @@
+def uptime():
+ return 1000.0
0 commit comments