Hello mastar
as we control our controller using pc. then is it possible controller our PC using controller. if possible then how and how to implement it.Many times if controller work as data-logger then depends on wheather condition it should give commands to PC or and any voltage spikes like other thing we should save our PC.
thanx
You need to decide the medium of communication between the controller and your PC. Then the software running on PC should open that particular port and wait for command. When the command arrives, process it and initiate some task or anything else.
Okay. The open the Serial port through your PC (ttyS0 if using Linux). Now Program your controller to send commands to the PC through serial communication. Run an application in your PC which will start some tasks based on the command received through the UART from uC.