ON 20060523@10:17:24 AM at page: http://www.piclist.com/microchip/16f877/setup.htm#38859.1139583333 James Newton[JMN-EFP-786] removed post 38859.1139583333 with comment: 'No homework.' |Delete 'cosmin.marcu@aut.utcluj.ro asks:
Hello. I have a problem regarding pic16f628 UART and interrupts. I want to enable UART and RBIF in the same time. The PC sends a character to PIC to enable (set high) pin A1. PIC must always check for the state of pin RB4 (on change). Pin RB4 is connected to a sensor. When the sensor is on will send '1' (set high) to pin RB4. PIC must send a message to PC (only ONCE) that the RB4 pin changed its state. Any ideea how can be done? Thanks