It depends on the driver you are using, check the docs of your hardware to see. But typically the driver would not change so yes you could hard code this.
On Thursday, 2 October 2014 15:03:56 UTC+1, [email protected] wrote: > > Well, I realise they won't *always* be there but what I mean is it > reasonable to hard code the address into a program? > > The last part of the path, the iio:device0 bit, is actually a symbolic > link to a much deeper and messier looking path in /sys/devices so > presumably something creates this symbolic link when ADC is enabled to > give a more 'generic' way to get to the raw ADC values. > > > -- > Chris Green > ยท > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
