View Single Post
Old 10-16-2013, 03:11 PM   #199 (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
Quote:
Originally Posted by josemapiro View Post
I was been testing the arduino mega and buttons legacy are working, but the injector readings does not give me any information, even tested if it worked? The information of the speed pin, did not get to test because had the car stopped in the garage.
If the legacy buttons are working now, then the VSS signal should work, as well.

What pins do you have your injector signal connected to? I currently have the pins mapped to:
Code:
  Arduino Mega2560
	injector sense open  PE4 (INT4)
	injector sense close PE5 (INT5)


Quote:
Originally Posted by josemapiro View Post
The pins of the LCD to the Arduino Mega, is that they could be changed to free the PWM pins. I'm using the ports A
Code:
const uint8_t lcdData = 		(1 << 5); // on PORTA
const uint8_t lcdEnable = 		(1 << 4); // on PORTA
const uint8_t lcdBit3 = 		(1 << 0); // on PORTA
const uint8_t lcdBit2 = 		(1 << 1); // on PORTA
const uint8_t lcdBit1 = 		(1 << 2); // on PORTA
const uint8_t lcdBit0 = 		(1 << 3); // on PORTA
Another fantastic work, as always.
Thank you!

So these two statements are still correct?

Code:
const uint8_t lcdBrightness = 		(1 << 1); // on PORTB
const uint8_t lcdContrast = 		(1 << 6); // on PORTD

Last edited by t vago; 10-16-2013 at 03:39 PM..
  Reply With Quote