Are there examples how to use pwm on the A9 side under linux when set by the device tree editor? I already use a slightly modified python library of David. Perhaps I want to use pwm too. I cannot find Linux examples for pwm in the documentation. Or can I echo an integer between 0 and 255 to the pin like 0 or 1 to a digital pin?
Dear waltervl, thanks for pointing it out, we're gonna write this part as soon as possible. Code: Or can I echo an integer between 0 and 255 to the pin like 0 or 1 to a digital pin? Can you be clearer and elaborate?
For a digital out gpio in a terminal I can echo the value 1 or 0 to the gpio pin to switch it on or off. For example: echo 1 > /sys/class/gpio/gpio41/value What value(s) can I echo to a pwm gpio out after setting the gpio pin to pwm through the device tree editor? Just some other remarks I have to share with you after owning the Neo for some months now: I am a real noob in Linux and gpio but love the Neo. For the moment it fulfills all my whishes. The Arduino side is completely covered and documented very well through the Arduino IDE and its own documentation on Arduino.cc. Only the Linux side is lacking some documentation for those who are exploring the possibilities of the device and not used to programming this kind of devices. I read here from people who are doing amazing stuff with recompiling kernels and drivers. I am far away from that level. Also a beginner's guide for setting up a (serial) communication channel between Linux and Arduino would be helpful as this is one of the USP's (Unique Selling Point) of the Neo. But I had to go to raspberry/Arduino documentation and examples how to set up. In my opinion noob things should be in the documentation, hacking and tweaking stuff in the forum. But do with my remarks what you want, perhaps I am not a representative of your main market segment