Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADCDevice error Joystick #7

Open
Techttv opened this issue Mar 30, 2021 · 1 comment
Open

ADCDevice error Joystick #7

Techttv opened this issue Mar 30, 2021 · 1 comment

Comments

@Techttv
Copy link

Techttv commented Mar 30, 2021

When I try the Joystick program, raspberry send this output
pi@pi:~/Freenove_ultimate/Code/Python_Code/12.1.1_Joystick $ python3 Joystick.py Traceback (most recent call last): File "Joystick.py", line 13, in <module> adc = ADCDevice() # Define an ADCDevice class object File "/home/pi/Freenove_ultimate/Code/Python_Code/12.1.1_Joystick/ADCDevice.py ", line 15, in __init__ self.bus=smbus.SMBus(1) FileNotFoundError: [Errno 2] No such file or directory
pi@pi_ ~_Freenove_ultimate_Code_Python_Code_12 1 1_Joystick 30_03_2021 15_16_30

@DenzelChen
Copy link
Contributor

DenzelChen commented Mar 31, 2021

Dear customer,

Did you install smbus and adc library?

image

image

Please send an email to support@freenove.com if you have further concerns. Thank you.

Sincerely,
Freenove Support Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants