Beagle Board - beagleboard.org

Things used in this project

Hardware components:
Pocketbeagle size compare small
BeagleBoard.org PocketBeagle
×1

Code

Code snippet #2Plain text
echo out > /sys/class/gpio/gpio111/direction
while :; do
> echo 1 > /sys/class/gpio/gpio111/value; sleep 1
> echo 0 > /sys/class/gpio/gpio111/value; sleep 1
> done
Code snippet #3Plain text
void main(void)
{
  while (1) {
    __R30 = __R30 | (1<<1); // Turn on output 1
    __delay_cycles(1);
    __R30 = __R30 & ~(1<<1); // Turn off output 1
    __delay_cycles(1);
  }
}
Code snippet #8Plain text
# Analog input 5 (P2_35)
$ config-pin P2_35 gpio
$ echo in > /sys/class/gpio/gpio86/direction
$ cat /sys/bus/iio/devices/iio:device0/in_voltage5_raw
# Analog input 6 (P1_2)
$ config-pin P1_2 gpio
$ echo in > /sys/class/gpio/gpio87/direction
$ cat /sys/bus/iio/devices/iio:device0/in_voltage6_raw
Github
https://github.com/beagleboard/pocketbeagle
Github
https://github.com/shirriff/pru-blink
Github
https://github.com/beagleboard/linux/blob/4.14/arch/arm/boot/dts/am335x-pocketbeagle.dts

Credits

Ken Shirriff

Are you Ken Shirriff? Claim this project and add it to your profile.

This is mine
Posted by 866a9bf3c40568b62e27a66a4ee5cecb Jason Kridner

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login