I am attempting to add a touch screen to a large program, which I did not write. I am almost finished, but I have a bug that the Arduino IDE can't help me with.
When I try to import this sketch, in Atmel Studio 7, I get this message 'Failed to import Arduino Sketch:'NoneType' object has no attribute 'name'.
I imported some example programs, and the program with only my touch screen code without the large program, with no problems.
Is there any way of narrowing down this problem to something besides somewhere in this huge program?
By the way this program has a large number of options. These are enabled/disabled by using #ifdef statements. This makes this code difficult to follow. Like I said I did not write it.