[Resolved] Something strange on new computer.

Hi all. I have previously been using a 13" MacBook Pro and just bought a new 15" MacBook Pro. Copied all files across. Opened up my sketch and made a minor alteration, compiled and uploaded and now the touch screen isn't recognising touch accurately.

All settings appear to be the same and when I plug back into my old Mac and re upload the original, it works fine. Then back to the new and same problem.

Does anyone have any ideas as to why this is happening?

Cheers.

There are a few cases where undefined compiler behavior is different between the older compiler and the newer. Of course that requires using undefined behavior like: x = x++;

Perhaps your sketch has such an error.

Well undo that minor modification you thought wouldn't make any difference, and upload the exact same sketch. Until you're using the exact same sketch, the tests will not be meaningful.

The behavior should be identical.

If not, try uploading from new computer, then connecting it to old computer - see which behavior you get with code uploaded from new computer but plugged into old one - see if the problem could be related to that (perhaps the new computer is stingier about how much power it will give the USB port, so the voltage is sagging, causing it to malfunction?

Edit: Wait, are you using different version of the IDE? Maybe I misinterpreted your post - I assumed you'd copied over the IDE as well. If you've got different versions of the IDE on the two machines, what are the two versions? There have been compiler changes between 1.6.x vs previous versions.

The only change was a change of text from 'dose' to 'fill' so definitely shouldnt have made any difference and could be seen as identical. But see where you're coming from.

I copied everything straight over from old to new including IDE and everything. I did however, clean up the file folder on the new one and as such must have deleted something that it needed. Not sure what as I kept everything that I even thought was slightly relevant.

I recopied absolutely everything again and it's now working as it should.

Apologies to waste your time but thanks for your help anyways. :slight_smile: