View Single Post
Old 10-16-2013, 03:42 PM   #200 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Quote:
Originally Posted by t vago View Post
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)
Yes I moved the pins PE4 and PE5 but not getting any information in MPGuino.

Quote:
So these two statements are still correct?

Code:
const uint8_t lcdBrightness = 		(1 << 1); // on PORTB
const uint8_t lcdContrast = 		(1 << 6); // on PORTD
Use different pins, the OC0A OC1A in the arduino mega is on pins PB5 and PB7.
Code:
const uint8_t lcdBrightness = 		(1 << 5); // on PORTB
const uint8_t lcdContrast = 		(1 << 7); // on PORTB
Thank you
José Rodrigues
  Reply With Quote