mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-11-22 02:30:46 +00:00
Add rpio line configuration
This commit is contained in:
parent
a75338f480
commit
25e70d771e
@ -81,6 +81,33 @@ func (a2 A2Gpio) Init() {
|
||||
|
||||
inWrite.PullDown()
|
||||
inRead.PullDown()
|
||||
|
||||
outWrite.Output()
|
||||
outRead.Output()
|
||||
outReserved2.Output()
|
||||
outReserved1.Output()
|
||||
outBit7.Output()
|
||||
outBit6.Output()
|
||||
outBit5.Output()
|
||||
outBit4.Output()
|
||||
outBit3.Output()
|
||||
outBit2.Output()
|
||||
outBit1.Output()
|
||||
outBit0.Output()
|
||||
|
||||
inWrite.Input()
|
||||
inRead.Input()
|
||||
inReserved2.Input()
|
||||
inReserved1.Input()
|
||||
inBit7.Input()
|
||||
inBit6.Input()
|
||||
inBit5.Input()
|
||||
inBit4.Input()
|
||||
inBit3.Input()
|
||||
inBit2.Input()
|
||||
inBit1.Input()
|
||||
inBit0.Input()
|
||||
|
||||
outReserved1.High()
|
||||
outReserved2.High()
|
||||
outRead.High()
|
||||
|
Loading…
Reference in New Issue
Block a user