hi everyone i am working on modbus rtu protocol, i am succesful to run in main loop ,but i want it to run in interrupt routine .
also my rtc code is not working ,
if someone has solution pls help its urgent.
You must be kidding! But if you wait until it gets dark around here and the stars start shining, I'll try to figure out what your mcu is (i guess some sort of i805x), is the rtc onchip - rather not as you access it via P3, what it is and what it is supposed to do. BTW the code works, it does something on P3! And you are in "interrupt mode" - at least Timer 0 is generating interrupts!