So havent been able to get our End Game function to work:
EndG = DigitalOut(brain.three_wire_port.h)
def EndGame(boolean):
EndG.set(boolean)
def pre_autonomous():
EndG.set(False)
def autonomous():
brain.screen.clear_screen()
brain.screen.print("autonomous code")
EndGame(True)
EndG.set(True)
Not sure what else to try? We’re running Python in Visual Studio Code, everything else works fine. The EndG.set always works, but the EndGame Function doesnt… Not sure if I’m doing it wrong, sorry if its a newb question