• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramADCHow to add ADC module on pcDuino 3 ?
Previous Next

How to add ADC module on pcDuino 3 ?

Posted by: Yang , June 4, 2014

I try to compile with a pcduino on ArduinoIDE.
But every time I get the message : open /proc/adc0 failed

2010-01-01-005621_1280x720_scrot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

and list module to show no ADC module.

2010-01-01-005806_1280x720_scrot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

2010-01-01-005840_1280x720_scrot
The ADC module have been loaded.

$cat /proc/adc0
$cat /proc/adc1
$cat /proc/adc2
$cat /proc/adc3
$cat /proc/adc4
$cat /proc/adc5

 

 

 

 

2010-01-01-005853_1280x720_scrot

 

2010-01-01-005907_1280x720_scrot

Maybe you wanna remove adc module . type “sudo rmmod adc”

sudo rmmod adc

Tags: ADC

Share!
Tweet

Yang

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors