update documentation
This commit is contained in:
parent
54320096fb
commit
3ef0fff256
6 changed files with 205 additions and 18 deletions
|
@ -26,16 +26,16 @@ else:
|
|||
print("apt is not installed! This is for local development only!")
|
||||
|
||||
if spi_found:
|
||||
import compLib.Spi
|
||||
import compLib.Reset
|
||||
import compLib.Encoder
|
||||
from compLib.Spi import Spi
|
||||
from compLib.Reset import Reset
|
||||
from compLib.Encoder import Encoder
|
||||
import logging
|
||||
|
||||
print(f"\033[34mInitializing chipmunk board...\033[0m")
|
||||
compLib.Reset.Reset.reset_bot()
|
||||
compLib.Spi.Spi.health_check()
|
||||
compLib.Spi.Spi.start_health_check_loop()
|
||||
compLib.Encoder.Encoder.clear_all()
|
||||
Reset.reset_bot()
|
||||
Spi.health_check()
|
||||
Spi.start_health_check_loop()
|
||||
Encoder.clear_all()
|
||||
print(f"\033[34mReady\033[0m\n")
|
||||
else:
|
||||
print("spidev is not installed! This is for local development only!")
|
||||
|
|
Reference in a new issue