On 24 January 2012 03:39, Marco Antonio Mauro <marcu...@gmail.com> wrote: >> Leds are tested in output mode which you are skipping. >> If you are testing leds only you should be skipping input mode, not >> output, and see which led blinks (it should blink 3 times if you don't >> interrupt it). > > The thing is that it won't change gpio if I don't skip input and output > manually
How is that? Did you wait for it to change the state (blink) 3 times (you'll see the value of the pin printed 3 times)? > Some pins error out even though no modules apart from network are > loaded. I'm trying to find those too and once done I'll update the > patch -- you can disregard this one. Forget about those errors - these are the pins which are already occupied. >> Testing for buttons you should press it, while in input mode, and see >> if pin state changes. > > Buttons should work as is as I found the pins for them in the source > code released by the manufacturer. Should and work are completely different things ;) Regards, Roman _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel