Re: [beagleboard] i wanna 8bit gpio control

2014-07-27 Thread Christopher Pascoe
If you look closely at the error text you'll see you misspelt "write" as "wirte". On 27 Jul 2014 04:10, wrote: > /sys/class/gpio/export this driver file i have used. > > but this control only one bit. so, i try to 8bit control like this > > #include "bb_gpio.h" > #include > #include > //#inclu

Re: [beagleboard] I wanna 8bit gpio control

2014-07-27 Thread Chad Baker
Looking at the compiler errors - > gcc -o led_blink led_blink.c /tmp/ccfrwmlk.o: In function `main': led_blink.c:(.text+0x5c8): undefined reference to `pin_wirte' led_blink.c:(.text+0x5e0): undefined reference to `pin_wirte' led_blink.c:(.text+0x5f8): undefined reference to `pin_wirte' led_blink.c

[beagleboard] i wanna 8bit gpio control

2014-07-27 Thread kthabc2002
/sys/class/gpio/export this driver file i have used. but this control only one bit. so, i try to 8bit control like this #include "bb_gpio.h" #include #include //#include void main(void) { gpio_export(p9_11); gpio_export(p9_12); gpio_export(p9_13); gpio_export(p9_14); gpio_export(p9_15); gpio

[beagleboard] I wanna 8bit gpio control

2014-07-27 Thread kthabc2002
/sys/class/gpio/export this driver file i have used. but this control only one bit. so, i try to 8bit control like this #include "bb_gpio.h" #include #include //#include void main(void) { gpio_export(p9_11); gpio_export(p9_12); gpio_export(p9_13); gpio_export(p9_14); gpio_export(p9_15); gpi