This commit is contained in:
2021-07-07 14:07:58 +03:00
parent e9c0b28b39
commit e17a82acf2
2 changed files with 6 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import os
can0 = can.interface.Bus(bustype='socketcan', channel='can0', bitrate=500000)
KXLOX = kx.KX(protocol_kx.KDescription.K_TEST_SOURCE_2_SIGLVL.value, 950, 255, can0)
KXLOX.send_test_source_enable(0)
KXLOX.KXInit(protocol_kx.KDescription.K_SBL_ID.value, 43)