Thanks for answering guys!
Jacek >>
Thank you so much for the library! it looks like a very hard work was invested in it!
but i tend to go with williams's approach.. i want to know how to do it my self also as a part of learning the BBB
i am planning on making more complicated programs than just read and write some GPIO.
I saw in some places that there are the FS and MMAP way and that the MMAP is a lot faster!
If you could tell me just how to approach this and so i could write some basic functions like read write and set as in or out
that would be great!
i also want to get the best performance as possible, but i am not that knowledgeable about deep embedded programming, i know that the beagle bone has 2 PRU's and they can be accessed to make the calculations and use all the peripherals (UART, PWM, I2C etc..)
so is there a way to access the PRU with c++??
William >>
Thanks for the example! right now i am using the same terminal commands with the "system" function
cat - to read
echo - to write
does using a file stream will be faster then this? if so i will change the code so it will use a file instead.
Thanks a lot guys! :)