2022-10-22 12:39:10 +00:00
|
|
|
from telemetrix_rpi_pico import telemetrix_rpi_pico
|
2022-10-25 07:49:19 +00:00
|
|
|
import kuukar_leds, kuukar_collision, kuukar_motion, kuukar_lcd, kuukar_sensors
|
|
|
|
|
|
|
|
from kuukar_config import SERIAL_AUX_BOARD, SERIAL_DRIVER_BOARD
|
2022-10-22 12:39:10 +00:00
|
|
|
if __name__ == '__main__':
|
2022-10-25 07:49:19 +00:00
|
|
|
aux_board = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_AUX_BOARD)
|
|
|
|
driver_board = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_DRIVER_BOARD)
|
|
|
|
sensors = kuukar_sensors.sensors(aux_board,driver_board)
|
|
|
|
leds = kuukar_leds.leds(aux_board=aux_board)
|
|
|
|
lcd = kuukar_lcd.lcd()
|
|
|
|
motion = kuukar_motion.motion(driver_board=driver_board,leds=leds,sensors= sensors)
|