View Single Post
Old 08-30-2013, 02:28 PM   #23 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,808

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
This the code I use to enable the fuel injector interrupt.
Code:
EICRA = (EICRA & ~(1 << ISC01)) | (1 << ISC00); // set injector sense pin control
EIFR = (1 < INTF0); // clear fuel injector sense flag
EIMSK = (1 << INT0); // enable fuel injector sense interrupt
Does yours look the same?
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
nickdigger (08-30-2013)