• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoArduino-ish ProgramArduino-ish Programming
Previous Next

Arduino-ish Programming

Posted by: admin , November 28, 2014

1.

Q:

I know arduino programming well, so does linux programming. Now my question is, if I connect a button sensor to pcduino, the arduino part will receive some messages once I click the button, but what if I want to do something on the linux platform of pcduino?

I mean is it possible to transmit messages between the system part and arduino part inside a single pcduino?

Can you give me some hint so that I can continue my search?

 

A:

Actually arduino programming part is still part of the system. Please refer to: http://learn.linksprite.com/pcduino/arduino-ish-program/control-a-linker-led-module-by-tcpip-socket-on-pcduino/.

 

2.

 

Q:

No pwm file with last Ubuntu release for pcduino?

I’ve a problem with the last Ubuntu release for Nand (05-31-2013) : the dir /sys/class/leds is empty and I’ve no access to pwm through the pwm files…
What can I do to resolve this problem ?

 

A:

The PWM interface you mentioned above was changed in April. Now, it is not configured through sys in file system. Please refer to the c code in c_enviroment:

hardware/arduino/cores/arduino/wiring_analog.c

Calling interface:

sample/pwm_test.c

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors