libpruio
0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
dts_custom.bas
Go to the documentation of this file.
1
75
76
77
#INCLUDE ONCE
"
pruiotools.bas
"
78
79
'''''''''''''''''''''''''''''''''''''''''''''''''''''''' adapt this code
80
81
82
#DEFINE
FILE_NAME
"pruio_custom"
83
84
#DEFINE
VERS_NAME
"00A0"
85
86
VAR
TARG_PATH
=
"/lib/firmware"
87
88
VAR
COMPATIBL
=
"ti,beaglebone-black"
89
90
''''''''''''''''''''''''''''' create settings for all required pins here
91
'M(P8_09) = CHR(7 + _I_) ' example: pin 9 at header P8 in mode 7 (GPIO) as input (pulldown resistor)
92
'M(P9_21) = CHR(3 + PWMo) ' example: pin 21 at header P9 in mode 3 (PWM) as output (no resistor)
93
M(P9_14) =
CHR
(6 + PWMo)
' example: pin 14 at header P9 in mode 6 (PWMo) as output (no resistor)
94
M(P9_42) =
CHR
(0 + CAPi)
' example: pin 42 at header P9 in mode 0 (eCAP) as input (pulldown resistor)
95
''''''''''''''''''''''''''''''''''''''''''''''''''''''' end of adaptions
96
97
CREATE()
98
src
config
dts_custom.bas
Generated on Thu May 11 2023 12:42:51 for libpruio by
1.9.1