Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
interrupt (event)
#1
hello,

I have a stepper motor that I steer from left to the right.
1 cm = 100 pulses.
Now I want to send data with the UART to a scanner, every time 1cm is passed (100 pulses).
To prevent sending that data from affecting the stepper movement, I want to do that in an interrupt routine.
so i think i need een "event interrupt".
but i don't no how this works,...maybe someone can help me with this.
thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  add interrupt for next task kucingkembar 0 840 Oct-07-2022, 12:15 PM
Last Post: kucingkembar
  Determine if keyboard interrupt versus SIGINT trapped? Jibunnokage 5 2,009 Sep-30-2022, 06:54 AM
Last Post: Gribouillis
  Enabling interrupt on Adafruits button/led board Moris526 0 2,095 Apr-30-2021, 03:29 PM
Last Post: Moris526
  python delay without interrupt the whole code Nick_tkinter 4 5,441 Feb-22-2021, 10:51 PM
Last Post: nilamo
  Adafruits Neotrellis interrupt with RAsp and Python Moris526 5 3,806 Jan-01-2021, 11:43 PM
Last Post: Moris526
  Interrupt for Adafruits Neotrellis button/led board Moris526 0 1,897 Dec-28-2020, 05:42 AM
Last Post: Moris526
  input interrupt Nickd12 1 4,465 Dec-09-2020, 05:01 PM
Last Post: Gribouillis
  Interrupt/Break Function sdprelude 2 6,185 Feb-17-2017, 12:19 AM
Last Post: Ofnuts
  interrupt serial port trainee1 9 19,309 Feb-15-2017, 08:19 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

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