GPIO on the Olimex A20-OlinuXino Micro with Linux A guide with Shell and C examples
■I'm using GPIO on the A20 for over a year now. With the new image with kernel 3.4.67+ the numbering and the names of the GPIO devices has been changed. This caused me a lot of trouble, because I needed to change my software as well as my configuration.
■The documentation on the A20 GPIO under Linux is still the old one and there is no hint how to do it correctly. As the documentation is outdated, I did some research myself. The result is this document, covering a little more than just GPIO.
■What is this document about and what can you expect?
▲Explains how to use GPIO (under both kernel versions)
▲Explains how to change the port configuration
▲Examples in Shell and C
▲All just for Linux
■You are wrong, If you expect
▲code ready to use in your application
▲Python code
▲Android stuff
■So, I'll not answer questions about Android and/or Python. Not because I don't want, just because I have no idea about both subjects!
■I tried my best, but I'm absolutely sure, that there are some errors within this document and/or the code given here.
■Therefore, I'll not take any responsibility for anything going wrong, any damage on your system or anything else related to this document. This document come as it is!
■But you are welcome to improve this document. So please send your comments, improvements, or corrections.
|
|
Development Environment(Software/Firmware) |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
2014/9/27 |
|
|
|
|
|
1.3 MB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.