Hello friends, i want to getkey on serial 2 (ASC1) of my xc161cj, someone could help me? I know that i have to replace C function _getkey(), but what interrupt?How can i receive the interrupt, or read the interrupt has come?
"Hello friends, i want to getkey on serial 2 (ASC1) of my xc161cj, someone could help me? I know that i have to replace C function _getkey(), but what interrupt?How can i receive the interrupt, or read the interrupt has come?" Look at the source for _getkey(). Observe the parts that are specific to serial port 1 and replace them with the equivalent code for serial port 2. You may have to consult the datasheet for this information.
i've looking for this function, but i did'nt file anything. Where is it?
The lib directory.