Thanks Dave, I am very thankful to many members here, because I have learnt a lot from this forum and now the checksum method, which you have explained very simply.
I have taken the advises above and changed the code and freed the MCRoom's ISR.
During my earlier attempts, I tried to make the code work by sending an 1 string byte, but it didnt worked so I changed it, but left the receiving string variable as it is.
It is not working currently, but it seems I am near as ISR is not handling much complicated stuff like pause or DEBUG.
The code at machine now (MCH1.txt), keeps sending signals and waits for the answer from the MCroom.
The MCroom should switch the LED ON and buzzer ON when mch reports a problem. I have tried to put everything in a loop, but it is not working.
Is it ok to put things in loop like I have done?
I am attaching the codes I have amended.
Bookmarks