I want to use serial port in pi2 and I write my code in C and working with virtual file in linux.
so I dont need to other library.
I can send and recieve in serial port but I dont know how I can use interrupt for recieving ???
I want to run a sub function(interrupt) when a 'char' recieved !
can you help me ??