hello i got the following error message after compilation: "USB.C(268): error C213: left side of asn-op not an lvalue"
it seems to be not that difficult, but i'm running out of time with my project and cant see the possible reason. thanks for your help
code:
void TD_Poll(void) // Called repeatedly while the device is idle { unsigned char testbuffer[64]; unsigned char testbuffer_old[64]; if(testbuffer != testbuffer_old) /only write testbuffer to ram if it changed { FIFORead(testbuffer); WriteToHPIA(0x10041000); FIFOWrite(testbuffer); testbuffer_old = testbuffer; //error here } }
while I do not argue agains Andy's suggestion above, I have found that, for me, taking a break does not work, while doing something else does. When taking a break, my brain continue churning on the problem, whereas if I do something else, it switches. Another thing that often works for me is leaving it till tomorrow.
Erik