I am trying to control my automaticaddison robot with Wiimote controller. I have followed instructions to install cwiid library but when I operate the code to remote control I get the following error message.
pi@raspberrypi:~/robot $ python3 remote_control.py
Traceback (most recent call last):
File "remote_control.py", line 2, in <module>
import cwiid
ModuleNotFoundError: No module named 'cwiid'
When I delete the "import cwiid" i then get the error message as follows.
pi@raspberrypi:~/robot $ python3 remote_control.py
Press and hold the 1+2 buttons on your Wiimote simultaneously
Traceback (most recent call last):
File "remote_control.py", line 5, in <module>
wii = cwiid.Wiimote()
NameError: name 'cwiid' is not defined
The Wiimote controller is paired with the Raspberry Pi.
Can you help an 88 year old who is trying to keep the little grey cells working?
I am trying to control my automaticaddison robot with Wiimote controller. I have followed instructions to install cwiid library but when I operate the code to remote control I get the following error message.
When I delete the "import cwiid" i then get the error message as follows.
The Wiimote controller is paired with the Raspberry Pi.
Can you help an 88 year old who is trying to keep the little grey cells working?