I bought MPU 9150 MotionFit™ Board and use Python console to get the sensor data based on MPU9150 Motionfit Board. When I input the following command in python shell, always indicate"SyntaxError: invalid syntax". I don't know what happened. I use python 2.5.4. Com port is 11.
IDLE 1.2.4
>>> import os
>>> os.getcwd()
'C:\Python25'
>>> os.chdir('c:Python25MotionFit_With_eMPL511_ReleasecoreeMPL-haleMPL-client')
>>> os.getcwd()
'c:\Python25\MotionFit_With_eMPL511_Release\core\eMPL-hal\eMPL-client'
>>> python eMPL-client.py 11
SyntaxError: invalid syntax
when I put "python eMPL-client.py 11" or other .py file, it always indicate "SyntaxError: invalid syntax". Please help me. Thanks.
- Log in to post comments
phpbb Topic ID
16191