View Single Post
  #1   Spotlight this post!  
Unread 12-07-2016, 14:16
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Interrupts with RobotPy

I know interrupts work with RobotPy, since encoders and counters are covered.

How do I create an interrupt with RobotPy?

Say I have the ADIS16448 IMU that I would like to use the DataReady output for to call an ISR. And yes, I know what I'm doing probably won't work well. Python is probably too slow to handle real time interrupts.

Some example code would be great!

Thanks!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote