-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#60 checking in the pin config script
- Loading branch information
1 parent
be8f540
commit 1af7669
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Based on https://www.bacpeters.com/2020/01/25/configuring-the-beaglebone-black-gpio-pins-permanently/ | ||
[Unit] | ||
Description=Setup for BBB pins | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/bin/bash /home/debian/EosPayload/beaglebone_pin_setup/pin_setup.sh | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh -e | ||
|
||
config-pin P9_17 i2c | ||
config-pin P9_18 i2c | ||
config-pin P9_14 pwm | ||
|
||
exit 0 |