Started program works (like the htop in the another terminal window) but I am unable to do anything else. Only restart (power off, not the shutdown unfortunately as I cant run any command). Any clues?
I suspect this part of my code:
def SafeSend163216(self, val16_1, val32_2, val16_3): s = signal.signal(signal.SIGINT, signal.SIG_IGN) self.Send16(val16_1) self.Send32(val32_2) self.Send16(val16_3) signal.signal(signal.SIGINT, s)
it send data through the SPI and I do not want send sequence to be interrupted by CTRL-C.
How the python script can break the bash ?