Chips are 40x1 and a 28x1 both with Hserin/Hserout and Setintflags to detect data flowing between them. The 40x1 updates the 28x1 for LCD display via the Firmware chip, and the 28x1 updates the 40x1 with new parameter settings. This works just fine both ways.
Question: With the Setintflags active, how can I do another interrupt to check 4 limit switches on the 40x1. Limit switches can go high or low whicever will work. I have for input pins dedicated to the four limit switches.
Currently I check the status of the switches BEFORE starting one of two motors. The limit switches are FINAL protection against over run and should get the motors to stop immediately. Help please....
Question: With the Setintflags active, how can I do another interrupt to check 4 limit switches on the 40x1. Limit switches can go high or low whicever will work. I have for input pins dedicated to the four limit switches.
Currently I check the status of the switches BEFORE starting one of two motors. The limit switches are FINAL protection against over run and should get the motors to stop immediately. Help please....