Quote:
Originally Posted by t vago
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.