Hi, I am wondering how to use the 2 ADCs of the AR7 on the legato plateform, or at least one of them.
For the GPIOs it looks that one can use things like:
int fd; char buf[MAX_BUF]; int gpio = XX; fd = open("/sys/class/gpio/export", O_WRONLY); sprintf(buf, "%d", gpio); write(fd, buf, strlen(buf)); close(fd);
But for ADCs? Do we have to change the kernel? I am lost.