Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

USART interrupt

Status
Not open for further replies.

amindzo

Member
Hi,
how can i enable USART interrupt.
i want to read keyboard , and when serial data recieved , the program jump to
serin instruction.
could you help me with this?
please help me in picbasic.
 
amindzo said:
Hi,
how can i enable USART interrupt.
i want to read keyboard , and when serial data recieved , the program jump to
serin instruction.
could you help me with this?
please help me in picbasic.

I suggest you ask in a PICBASIC forum, it's a PICBASIC question and not a PIC one?, but essentially it's a question of setting up the USART, enabling interrupts for the USART, and writing a suitable interrupt routine. How you do it in PICBASIC (assuming you even can?) is completely dependent on your particular compiler.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top