Computers, Development Boards & Shields
Educational & Robotics Kits
Electronic Sensors
Motors & Controllers
Communication & Display
Electronic Components
Soldering & Lab Tools

0
Help with Converting Analog readings to G-Forces +

Hi:

I purchased MMA7361 from your company and now i am trying to set it up. I found a code in your website but every time i try to run it with arduino 1.0.5-r2 program i get this mesagge:

sketch_dec11f:28: error: stray ‘\’ in program
sketch_dec11f:28: error: stray ‘\’ in program
sketch_dec11f:30: error: stray ‘\’ in program
sketch_dec11f:30: error: stray ‘\’ in program
sketch_dec11f:32: error: stray ‘\’ in program
sketch_dec11f:32: error: stray ‘\’ in program
sketch_dec11f.ino: In function ‘void loop()’:
sketch_dec11f:28: error: ‘u201cX’ was not declared in this scope
sketch_dec11f:30: error: ‘u201cY’ was not declared in this scope
sketch_dec11f:32: error: ‘u201cZ’ was not declared in this scope

Your help would be appreciated.

Thank you in advance,

Alvaro

2 Answers

0

The most likely cause is that you are getting stylized quotes from copy paste. You can fix it by using find replace on open and close quotes separately. Simply replace the quotes with a standard non formatted one. Let me know if that fixes the problem.

0
I replaced the quotes with the standard non formatted one and….is working!
Thank you

Your Answer

No comments yet.

Leave a Reply