0

Help Installing CircuitPython Libraries on Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Help Installing CircuitPython Libraries on Raspberry Pi

by TravisJohn on Wed Jun 12, 2019 12:38 am

I am trying to run servos via i2c and a pwm shield. I have been following this tutorial and I am stuck.

https://learn.adafruit.com/circuitpytho ... spberry-pi

Everything works just fine until I come to this Blinka Test portion.

adafruit.PNG
adafruit.PNG (34.33 KiB) Viewed 55 times


Where do I save the file? Can I use the Text Editor that come with Raspian? What does "Save it and run at the command line with python3 blinkatest.py" mean?

Thanks for any help you can give.

TravisJohn
 
Posts: 2
Joined: Wed Jun 12, 2019 12:27 am

Re: Help Installing CircuitPython Libraries on Raspberry Pi

by nickine9 on Wed Jun 12, 2019 5:32 am

nano is a simple text editor which you can use to create your file or you can use something like Idle which i find easier to use. when you have saved the file you open a terminal window and type in "python3 blinkatest.py" and the program should run.

nickine9
 
Posts: 115
Joined: Fri Jan 06, 2017 4:14 am

Re: Help Installing CircuitPython Libraries on Raspberry Pi

by TravisJohn on Wed Jun 12, 2019 5:38 am

Thanks for the help. I got it going now. Pretty fun learning Python and trying things out.

TravisJohn
 
Posts: 2
Joined: Wed Jun 12, 2019 12:27 am

Re: Help Installing CircuitPython Libraries on Raspberry Pi

by siddacious on Wed Jun 12, 2019 12:17 pm

Thanks nickine9 for helping out.

TravisJohn, let us know if you have any further questions.

siddacious
 
Posts: 41
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.