View Single Post
Old 01-22-2014, 04:07 PM   #5 (permalink)
Ecky
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: New Zealand
Posts: 5,096

ND Miata - '15 Mazda MX-5 Special Package
90 day: 39.72 mpg (US)

Oxygen Blue - '00 Honda Insight
90 day: 58.53 mpg (US)
Thanks: 2,907
Thanked 2,572 Times in 1,594 Posts
Quote:
Originally Posted by t vago View Post
Code:
*/

// if the below "#define"s are commented out, code will compile for an AtMega328-series processor
//#define ArduinoMega2560 true
//#define TinkerkitLCDmodule true

// if the below #define is commented out, 16 MHz system clock will be assumed
//#define use20MHz true // force 20 MHz system clock values

// only one of the below LCD options may be chosen - choosing more than one will cause a compilation error to occur
// if TinkerkitLCDmodule is used, useLegacyLCD will automatically be used, and the below options will be ignored
#define useLegacyLCD true
//#define useParallaxLCD true

// only one of the below button options may be chosen - choosing more than one will cause a compilation error to occur
#define useLegacyButtons true
//#define useAnalogMuxButtons true
//#define useParallax5PositionSwitch true

// the below options only work if useLegacyLCD is selected. If useLegacyLCD is not selected, the below options will not be inserted at all
//#define useLegacyLCDinvertedBrightness true	// For alternate LCD backlight connections
#define useLegacyLCDbuffered true				// Speed up LCD output
Starting at line 223, does your code look like the above?
I'll try that, I was flashing the following:

Code:
*/

// if the below "#define"s are commented out, code will compile for an AtMega328-series processor
//#define ArduinoMega2560 true
//#define TinkerkitLCDmodule true

// if the below #define is commented out, 16 MHz system clock will be assumed
//#define use20MHz true // force 20 MHz system clock values

// only one of the below LCD options may be chosen - choosing more than one will cause a compilation error to occur
// if TinkerkitLCDmodule is used, useLegacyLCD will automatically be used, and the below options will be ignored
#define useLegacyLCD true
//#define useParallaxLCD true

// only one of the below button options may be chosen - choosing more than one will cause a compilation error to occur
//#define useLegacyButtons true
//#define useAnalogMuxButtons true
#define useParallax5PositionSwitch true

// the below options only work if useLegacyLCD is selected. If useLegacyLCD is not selected, the below options will not be inserted at all
//#define useLegacyLCDinvertedBrightness true	// For alternate LCD backlight connections
//#define useLegacyLCDbuffered true				// Speed up LCD output
EDIT: Brightness is still inverted after flashing, with or without "#define useLegacyLCDinvertedBrightness true" commented out.

EDIT2: It seems I had a wire come loose in my arduino-based testbed and that's why the brightness was wonky. Testing out my prebuilt again shortly.

Last edited by Ecky; 01-22-2014 at 05:08 PM..
  Reply With Quote
The Following User Says Thank You to Ecky For This Useful Post:
t vago (01-22-2014)