-
-
Notifications
You must be signed in to change notification settings - Fork 146
Conversation
Thank you! I will get a Pi 2 soon and then I'll test this PR immediately. |
You are welcome. However, please notice that the PWM part is still not working on Pi 2. I had difficulties to fix that part. |
Alright. Perhaps its worth to take a look at the ServoBlaster library, which was the starting point for the RPIO PWM module: |
Any progress with PWM support for Pi 2? |
Any progress with PWM support for Pi 2? Whole reason I got the Pi2 because I was told it's better than Arduino. But I got the Arduino running a simple PWM within 5 minutes. I've been on this for an hour on the Pi2 trying libraries left right and centre. |
@WORMSS I had good luck with the PWM support in the fork @tylerwowen made. I installed it from https://github.com/tylerwowen/RPIO (It's this pull request, it just hasn't been merged yet) |
@WORMSS Raspberry Pi is not better for PWM. This is from the official GPIO module documentation
Use the official library instead, it has software PWM supports. @jashort Did it really work for PWM? I don't think I could fix it. |
@jashort @tylerwowen thank you. I guess I will do a combination of the two then. As I think I will still need certain things that a Pi2 can offer such as nodejs (and ssh if things get really bad). So maybe a Pi2 that triggers an Arduino into action. Fingers crossed. Again, thank you. |
Any progress on this? As far as I see the PWM stuff does work now in ServoBlaster after this commit: richardghirst/PiBits@96014c8 So could this be adapted for this project too? |
I wasn't aware, thanks for the heads up! If you have time to port it over,
|
Any progress with this? |
@Xfel @metachris I can test any merge that is done from servo blaster. If the pwm side of things is based upon the work of servoblaster - how difficult would it be to merge? Was there a lot of change to the methods/interface? |
Differences between servoblaster and RPIO are significant, so merging isn't a quick and easy job. I tried porting the PWM part to RPi2, but couldn't get it to work either (it will require more than just updating the peripheral base offset). That said, |
@@ -0,0 +1,577 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a backup file (ends with ~ ) so should be deleted from this PR.
Squashed commits: [0511bc4] merged from upstream [05245b5] Added Pi2 support [ea8f276] Added Pi 2 support [82a5d92] Added support for Pi2 [5a6727c] Added Pi 2 support Read cpu info to set base for Pi 2 Read cpu info to set base for Pi 2 Read cpu info to set base for Pi 2 Read cpu info to set base for Pi 2
Added support for Pi2 Added Pi 2 support Added Pi2 support merged from upstream encode in UFT-8
3266836
to
c15b142
Compare
c15b142
to
17ee9b5
Compare
I added support for Pi2. Only tested on Pi2. It works on Pi2, but I'm not sure if it is fully working.