Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
interrupt serial port
#2
hey everyboy

I am currently working on a project using raspberry pi 3 to read data through the serial port via putty 
and my question is: 

is there a way I can create an interrupt on python script to interrupt the program when the data is ready on the serial port 

please help me with this  [Image: huh.png] [Image: huh.png] [Image: huh.png] [Image: huh.png] [Image: huh.png] [Image: huh.png] [Image: huh.png] [Image: huh.png]
Reply


Messages In This Thread
RE: interrupt serial port - by nilamo - Feb-14-2017, 04:46 PM
RE: interrupt serial port - by trainee1 - Feb-15-2017, 06:43 AM
RE: interrupt serial port - by Ofnuts - Feb-15-2017, 08:19 AM
RE: interrupt serial port - by Larz60+ - Feb-14-2017, 05:31 PM
interrupt serial port - by trainee1 - Feb-14-2017, 01:55 PM
RE: interrupt serial port - by sparkz_alot - Feb-14-2017, 02:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Waiting for input from serial port, then move on KenHorse 3 1,274 Apr-17-2024, 07:21 AM
Last Post: DeaD_EyE
  MCU reboots after opening Serial port when ran from Raspberry PI zazas321 3 538 Mar-19-2024, 09:02 AM
Last Post: zazas321
  pyserial/serial "has no attribute 'Serial' " gowb0w 9 4,974 Aug-24-2023, 07:56 AM
Last Post: gowb0w
  Serial Port As Global Prasanjith 2 1,572 Mar-23-2023, 08:54 PM
Last Post: deanhystad
  add interrupt for next task kucingkembar 0 801 Oct-07-2022, 12:15 PM
Last Post: kucingkembar
  Determine if keyboard interrupt versus SIGINT trapped? Jibunnokage 5 1,872 Sep-30-2022, 06:54 AM
Last Post: Gribouillis
  python serial port barryjo 2 1,706 Dec-27-2021, 11:09 PM
Last Post: barryjo
  is there a way to mention port range or search for port dynamically with qConnection Creepy 0 1,520 Sep-09-2021, 03:15 PM
Last Post: Creepy
  How to Properly Open a Serial Port in a Function bill_z 2 4,605 Jul-22-2021, 12:54 PM
Last Post: bill_z
  Enabling interrupt on Adafruits button/led board Moris526 0 2,047 Apr-30-2021, 03:29 PM
Last Post: Moris526

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020