Jump to content
Sign in to follow this  
jim

PWM Led's

Recommended Posts

So far everything has worked as expected (turning LED's on, off, etc...).   Now trying to do PWM it needs access to the
/sys/class/leds/     but there is no files in the directory. Is there an update that I am missing?

Share this post


Link to post
Share on other sites
So far everything has worked as expected (turning LED's on, off, etc...).   Now trying to do PWM it needs access to the
/sys/class/leds/     but there is no files in the directory. Is there an update that I am missing?
 


Exactly the same problem... I'm going crazy. 
In some posts I found that the solution is to applay the 16march2013 patch (a usb cam patch?!?!?!) but it doesn't work for me.
I hope someone will help us with suggestions

Share this post


Link to post
Share on other sites

Yesterday I thought to have the problem solved... I revert to the update (both kernel and ubuntu) of may 2013 and aplly the patch of 16/3/2013, everything working over ssh from my mac.
After that,  cool.gif here is the pwmX directory and their contents!!
Being very happy, I try to connect the PcDuino to a HDMI monitor but no signal comes from the board.... cry.gif
Probably the patch solves the problem of PWM and create another issue with HDMI?

Nobody suceeded to make the last update of PcDuino V1 working with pwm?huh.gif?

Share this post


Link to post
Share on other sites
Yesterday I thought to have the problem solved... I revert to the update (both kernel and ubuntu) of may 2013 and aplly the patch of 16/3/2013, everything working over ssh from my mac.
After that,  cool.gif here is the pwmX directory and their contents!!
Being very happy, I try to connect the PcDuino to a HDMI monitor but no signal comes from the board.... cry.gif
Probably the patch solves the problem of PWM and create another issue with HDMI?

Nobody suceeded to make the last update of PcDuino V1 working with pwm?huh.gif?
 

Pcduino needs a plugged keyboard for the HDMI port to output something. You should check.

Share this post


Link to post
Share on other sites

I'm almost certain of this. It is like one patch fixes it, but then breaks something else. Not even the admin responsded with a fix. I think they simply gave up supporting the v1. Which is a shame. I was going to buy v2 but since I never really got any support I doubt I will be.

When I got my V1 it didn't have ANY of the arduino components installed. Just a simple copy of ubuntu. I thought that was strange - having to flash the nand just to be able to use ANY of the pins. Spent countless hours trying to make everything work correctly only to 75% success. I ended up going back to the MEGA for all my PWM projects.  I considered using the PCDuino to send a command to my MEGA and just PWM those pins, but in a finished project I just doubled my expense. 

Share this post


Link to post
Share on other sites

people keep pointing one to linksprite which uses the arduino library
this is not a help ! What is needed is a C library for the pcduino.
gpio is not a problem but the rest of the interfaces especially pwm
just are not there.

Share this post


Link to post
Share on other sites

O.K. Then that's great ! I need to set up pwm0 and pwm1 for pulse width modulation
these pins go to pwm1 and pwm2 on j11 6 and 7. Can you tell me how to use the library
functions to do that ?

Tom

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×