Add encoder resetting, SPI health check

This commit is contained in:
Konstantin Lampalzer 2021-08-23 22:13:01 +01:00
parent 63b8f868c9
commit 0f103cb34d
6 changed files with 138 additions and 80 deletions

View file

@ -1,6 +1,7 @@
__version__ = "0.1.5-1"
import compLib.LogstashLogging
import compLib.Spi
import logging
import apt
@ -14,3 +15,5 @@ try:
except Exception as e:
compLib.LogstashLogging.Logging.get_logger().error(f"error during checking apt package version -> {str(e)}")
print(f"\033[91merror during checking apt package version -> {str(e)}\033[0m\n")
compLib.Spi.Spi.health_check()