I used "power user mode" instead of "super user mode" which created all this fuss.
I will take care of using correct words in my further reply. Then Ptolemy and Euclid might be happy
As said if all you want to do is manipulate the GPIO without having root privileges use /dev/gpiomem rather than /dev/mem. /dev/gpiomem was created for that very reason. For a fairly minimal code example see http://abyz.co.uk/rpi/pigpio/examples.html#Misc_tiny_gpio (The run instructions in the code...
Hi, I want to read the GPIO port in my 'C' program. I have seen that there are some functions provided by WiringPi but in order to run the code, I need to use power user mode. Could anyone please tell me if there is some alternate way of reading the GPIO ports in 'C' without any need of going to pow...
For the sake of curiosity why don't you just try it? What is it you actually want to do? Does it really mater if your finished program takes 2% of CPU time in C or 20% in Python? Do you really want to spend hours crafting a C version of something that can be written in a minute in Python? I want to...
Assuming that an algorithm can be implemented using C, Python and Linux/BASH, which programming language is best suited in terms of runtime consumption?