>
>
> For now, the latest image (Debian 9.5, stretch) and installing the 
> linux-headers will solve your problems. I've to find a solution for better 
> handling the versions in future.    
>
>>
>>
That works great. But I encountered issue running the example 1.c. When I 
try to read it (./1), it says segmentation fault. The error still existed 
after I take out every lines except for these two:

pruIo *io 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/1_8bas.html#a63e8171063d36a2ac80e3dd0f23a2da2>
 
= pruio_new 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio__c__wrapper_8bas.html#a8416fa1df27f053242d720949d22366f>
(PRUIO_DEF_ACTIVE 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio_8bi.html#a4bfa5c8db0f0cb38b3613764fcb06097a0f5dc24fa173265dc1e30cc2683b3b74>,
 
4, 0x98, 0); 

pruio_destroy 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio__c__wrapper_8bas.html#ad642e1395cd7893277e5b2aeb0a0d920>
(io); 


Is it because my ADC pins are not properly linked? I have checked my ADC 
are running fine, by running the line: *cat 
/sys/bus/iio/devices/iio\:device0/in_voltage0_raw*



 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5ebb233d-1b47-4132-b354-f0e33c73ff15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to