Documentation is incomplete
-
@Don-DeGregori , nice point ... i mentioned the FAQ 5 Month ago ....
http://community.onion.io/topic/989/onion-freshdesk-com-support-home-faq
-
- Looks like fast-gpio doesn't work as documented, comes back with:
segmentation error
Yes, I ran into something like that before and the problem lies in the syntax, for example the docs says something like: (Example only)
fast-gpio call more -p
The syntax should be something like instead
fastgpio -p call more
AGAIN, this is just an example but you get the idea of what is going on. I just type words as an example and are not actual commands and options.
-
The syntax at https://docs.onion.io/omega2-docs/using-gpios.html is shown as:
fast-gpio read <gpio pin>
but
fast-gpio read 5
gives the error I stated (technically Segmentation fault) and
fast-gpio 5 read
Doesn't error but gives no response.
-
Best way is to do a issue on github as far as there is not changed yet.
From own experiences i got there the best request times for answers.
-
@Costas-Costas The segmentation fault - error is due to missing /dev/mem, not due to something in fast-gpio being wrong. You just have to wait for Onion-devs to fix their kernel.
-
Just to clarify, it was a command but I never mention that it was fast-gpio, but the docs said one way and it was actually different. I will look around and see which one is the one I got the error. I just thought it might help Costas from something that happened to me too.
-
@administrators
When you solve this problem?The syntax at https://docs.onion.io/omega2-docs/using-gpios.html is shown as:
fast-gpio read <gpio pin>
but
fast-gpio read 5
gives the error I stated (technically Segmentation fault) and
fast-gpio 5 read
Doesn't error but gives no response.
-
fast-gpio pulses - how to use this feature?
-
@Vlad-Leonov said in Documentation is incomplete:
The syntax at https://docs.onion.io/omega2-docs/using-gpios.html is shown as:
fast-gpio read <gpio pin>
but
fast-gpio read 5
gives the error I stated (technically Segmentation fault) and
fast-gpio 5 read
Doesn't error but gives no response.UP
-
@Manuel-Godinez said in Documentation is incomplete:
but the docs said one way and it was actually different.
The doc was first of all a copy of the wiki, the wiki was made for omega1. As hardware and software is changing from time to time, the documentation also has to be changed.
If you find something out other than documentation suggests, please do a pull request to simplify the doc's writers live .