Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 18th October 2003, 05:18 AM   (permalink)
Default Serial Communicatoin + External Interrupt

hii...i have the problem with external interrupt. How to send a signal (like pressing enter button) on PC (through serial port) to activate the external interrupt in PIC?
huanyong is offline  
Old 18th October 2003, 04:36 PM   (permalink)
Default

If you are using serial port level shifter (like the max232), you could just tie its output to the external interrupt and set your external interrupt to occur on the proper transition. Whenever the state toggles (such as a character coming down the serial line), your interrupt will fire and you can handle whatever in software.
crust is offline  
Old 20th October 2003, 08:26 AM   (permalink)
Default

Hey,

I am using a pic16F73 now, and I want to put some buttons on the pic I think that portB will do on RB4 t/m RB7.
Can I just put a button on that pin and get RBIE in INTCON set and then I can get a interupt from the buttons.

Thanks,
Camping is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 09:15 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker