Expected expression error

Cannot find error “expected primary expression before { taken”.

Expected expression error.pdf (205 KB)

Please post your code and the exact error message you're seeing.

I'm not going to waste my mobile data on 200k of PDF.

Posting the complete error would help.

You have:

 } else if ((sensorValue >= 300) && {sensorValue < 700) {

The “&& {” is one problem. It should be “&& (” and you are missing a ‘)’ after the “700)”.

This would be much easier to catch if you had used Toole->Auto Format on your code. Any you should have included the code in your post.

johnwasser:
Any you should have included the code in your post.

For sure, but if you really must attach it then attach it as a .ino or even a .txt. Why convert it to .pdf and waste people's bandwidth?