Added prints on library startup

This commit is contained in:
Konstantin Lampalzer 2021-09-05 11:27:23 +01:00
parent 74f0f42d2f
commit 50709c96e0

View file

@ -18,7 +18,9 @@ except Exception as e:
compLib.LogstashLogging.Logging.get_logger().error(f"error during checking apt package version -> {str(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") print(f"\033[91merror during checking apt package version -> {str(e)}\033[0m\n")
print(f"\033[34mInitializing chipmunk board...\033[0m")
compLib.Reset.Reset.reset_bot() compLib.Reset.Reset.reset_bot()
compLib.Spi.Spi.health_check() compLib.Spi.Spi.health_check()
compLib.Spi.Spi.start_health_check_loop() compLib.Spi.Spi.start_health_check_loop()
compLib.Encoder.Encoder.clear_all() compLib.Encoder.Encoder.clear_all()
print(f"\033[34mReady\033[0m\n")