Step3: Copy and paste the following code into the new tab
import Adafruit_BBIO.GPIO as GPIO
import time
GPIO.setup("P9_14", GPIO.OUT)
while True:
GPIO.output("P9_14", GPIO.HIGH)
time.sleep(0.5)
GPIO.output("P9_14", GPIO.LOW)
time.sleep(0.5)
Step4: Save the file by clicking the disk icon and giving the file a name with the .py extension.
Step5: Run the code
Select the arrow to the right of "run" (or "debug") in the toolbar to pull down the list of files to run
and select your new file.
Step6: Observe the BeagleBone P9_14 led blinking steadily about once a second.
Step7: Stop the code by clicking "stop" in the toolbar.
4.4
Update image
There are multiple ways to run initial software on your board, but it is likley that the simplest way
to get an update is to create an exact replica of a bootable microSD card and boot off of it.
The BeagleBone Green that can be initialized by a program booted off of a microSD card. If you
want to update to the latest software image for your board, this is a way to do that.
4.4.1
Step1: Download the latest microSD card image
Download the image from
11
Need help?
Do you have a question about the Beaglebone green and is the answer not in the manual?