Skip to content

Maybe a bug #2

@gkalog

Description

@gkalog

Hello ehayon

I got the following situation ,,,

I have to change a pin on my BeagleBone (INPUT or OUTPUT) many times in my c program.
At boot the pin is input. and has high impedance.
During my program I change the pin as output ( pinMode(P8_44,OUTPUT,7,PULLUP) ; ) and I write to it HIGH or LOW ( digitalWrite(P8_44,HIGH) ; or digitalWrite(P8_44,LOW) ; ) .
When I make again the pin input ( pinMode(P8_44,INPUT,7,PULLUP) ; ), the pin does not have high impedance.

Looking at the sysfs I got that the pin is INPUT.

thank you in advanced for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions