Total Complexity | 9 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | import os |
||
8 | class SpeedOfPi(object): |
||
9 | |||
10 | def __init__(self): |
||
11 | bus = smbus.SMBus(1) |
||
12 | |||
13 | def create_nodes(self): pass |
||
14 | |||
15 | def get_config(self): pass |
||
16 | |||
17 | def set_config(self): pass |
||
18 | |||
19 | def update(self): |
||
20 | updater = Updater() |
||
21 | needs_update = updater.check() |
||
22 | if needs_update: |
||
23 | print("There is an update") |
||
24 | print("Downloading update now") |
||
25 | updater.update() |
||
26 | else: |
||
27 | print("You are up to date!") |
||
28 | |||
29 | def multi_player(self): pass |
||
30 | |||
31 | def single_player(self): pass |
||
32 | |||
33 | def loop(self): pass |
||
34 | |||
35 |