Imports json, system libs and so on

Ads various imports for time keeping and data persistance
This commit is contained in:
Simon Albinsson
2018-04-07 21:47:31 +00:00
parent a8216a8c2f
commit 7053a2cba9

View File

@@ -3,7 +3,11 @@ from smbus2 import SMBusWrapper, SMBus, i2c_msg
from collections import namedtuple
from functools import partial
#import Adafruit_PureIO.smbus as adabus
from time import sleep
from time import sleep, asctime,time
import json
from copy import copy
import requests
import os.path
DEVICE_BUS = 1
DEVICE_ADDR = 0x58