New examples and minor changes in gpio driver