I try to compile with a pcduino on ArduinoIDE.
But every time I get the message : open /proc/adc0 failed
and list module to show no ADC module.
This problem is the ADC module is not loaded.
OK. Let us add ADC module on pcDuino .
It’s really simple. Just type this command:
$sudo modprobe adc $lsmod
The ADC module have been loaded.
$cat /proc/adc0 $cat /proc/adc1 $cat /proc/adc2 $cat /proc/adc3 $cat /proc/adc4 $cat /proc/adc5
Maybe you wanna remove adc module . type “sudo rmmod adc”
sudo rmmod adc
Leave a Reply
You must be logged in to post a comment.