gpio: mraa_gpio_dir allow output to set val
authorKurt Eckhardt <kurte@rockisland.com>
Mon, 5 Jan 2015 23:03:17 +0000 (15:03 -0800)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 20 Jan 2015 10:43:16 +0000 (10:43 +0000)
commit20d229168b5fadb2772f7aa259386574b2fc75a8
tree23fd6dc5918cd02f1d46d526057f02bf84b6a006
parent66eb4766207430027fb3844b19c24b2eaa832b9f
gpio: mraa_gpio_dir allow output to set val

There is an issue that when you take an IO pin that has an external PU
resistor and switch it from INPUT to OUTPUT the state of the pin will go
down before you can set it back high.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/gpio.h
api/mraa/gpio.hpp
src/gpio/gpio.c