13 lines
351 B
Python
13 lines
351 B
Python
import canTest
|
|
|
|
|
|
def ePromTest():
|
|
print("start eprom test")
|
|
message = [4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
|
|
canTest.waitForUserInput(True)
|
|
canTest.sendMessageOnCan(message)
|
|
answer = canTest.recive()
|
|
print("ePromTest reult {}".format(str(answer.data) == "bytearray(b'iiiiBiii')"))
|
|
|
|
print("I am done with this shit")
|