View Single Post
Old 04-29-2017, 03:24 AM   #109 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 829
Thanked 708 Times in 456 Posts
Code:
#ifdef useAnalogLCDdelay
#define useAnalogInterrupt true
#endif // useAnalogLCDdelay
Move this block from line 576 of your code to line 607. Your code will compile successfully after you do this. What is happening is that, for the useAdafruitRGBLCDmodule #define, the useAnalogLCDdelay #define is getting set to true after the above processor directive is compiled. When this occurs, the analog interrupt handler section never gets compiled in, and since the analog interrupt handler section is required for generating LCD hardware delays, the compile fails as you have described. When the useDebugReadings #define is set to true, it masks this error.

Not sure how the Arduino digitalWrite functions will interact with the MPGuino code, but I do not think they'll be a problem.
  Reply With Quote