Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NanoPi Duo gpio readall showing -1 for IR-RX #14

Open
ghost opened this issue Dec 16, 2019 · 0 comments
Open

NanoPi Duo gpio readall showing -1 for IR-RX #14

ghost opened this issue Dec 16, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 16, 2019

I've forked and friendlyarms fork of this repo.
when running gpio readall I get the 'bold' output.
when changing the pin to output and high and low the gpio readall doesn't change (neither direction nor pin nor level) "24 | 0 | IN | GPIOL11 | 18 | -1 |"
+-----+-----+----------+------+---+-NanoPi-Duo--+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | MIC_N | | | 1 || 2 | | | EPhySPD | | | | | | MIC_P | | | 3 || 4 | | | EPhyLinK | | | | | | LineOutR | | | 5 || 6 | | | EPhyTXP | | | | | | LineOutL | | | 7 || 8 | | | EPhyTXN | | | | | | CVBS | | | 9 || 10 | | | EPhyRXP | | | | 198 | 8 | GPIOG6 | OFF | 0 | 11 || 12 | | | EPhyRXN | | | | 199 | 9 | GPIOG7 | OFF | 0 | 13 || 14 | | | USB-DP2 | | | | 15 | 7 | GPIOA15 | OFF | 0 | 15 || 16 | | | USB-DM2 | | | | 16 | 0 | GPIOA16 | OFF | 0 | 17 || 18 | | | USB-DP3 | | | | 14 | 2 | GPIOA14 | OFF | 0 | 19 || 20 | | | USB-DM3 | | | | 13 | 3 | GPIOA13 | OFF | 0 | 21 || 22 | 0 | OFF | GPIOG11 | 16 | 203 | | 12 | 12 | GPIOA12 | ALT5 | 0 | 23 || **24 | 0 | IN | GPIOL11 | 18 | -1 |** | 11 | 13 | GPIOA11 | ALT5 | 0 | 25 || 26 | | | 0v | | | | | | 0v | | | 27 || 28 | | | 3.3v | | | | 4 | 14 | GPIOA4 | ALT5 | 0 | 29 || 30 | | | 5v | | | | 5 | 15 | GPIOA5 | ALT5 | 0 | 31 || 32 | | | 5v | | | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-NanoPi-Duo--+------+----------+-----+-----+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants