diff options
author | siddhu8990 | 2016-07-25 15:59:40 +0530 |
---|---|---|
committer | siddhu8990 | 2016-07-25 15:59:40 +0530 |
commit | 24fbba33153e7758df4a990cb4c21ae8e53e6f3e (patch) | |
tree | b12075cf236142e6e0b9c024a37a2fc4ee5e6761 /src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c | |
parent | 169db0082ebd07baea82d00213db6ffd4dee7cf6 (diff) | |
download | Scilab2C_fossee_old-24fbba33153e7758df4a990cb4c21ae8e53e6f3e.tar.gz Scilab2C_fossee_old-24fbba33153e7758df4a990cb4c21ae8e53e6f3e.tar.bz2 Scilab2C_fossee_old-24fbba33153e7758df4a990cb4c21ae8e53e6f3e.zip |
WiringPi used for RaspberryPi (Gpio, serial, Threads, ISRs)
Diffstat (limited to 'src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c')
-rw-r--r-- | src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c b/src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c index d9ff093..7b84350 100644 --- a/src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c +++ b/src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c @@ -19,6 +19,6 @@ uint8 u8RPIDigitalIns(uint8 pin) { uint8 state = 0; - state = bcm2835_gpio_lev(phy_pin[pin-1]); + state = digitalRead(phy_pin[pin-1]); return (state); } |