In the new Debian release is there documentation anywhere of the changes made to the Cloud9 environment? Or maybe an update to "Getting started with Beaglebone"?
In the new Debian release is there documentation anywhere of the changes made to the Cloud9 environment? Or maybe an update to "Getting started with Beaglebone"?
Check this blog post... it works with Javascript, Python and even Arduino sketches now!
One thing (of many). In Getting Started With BegleBone in the section on bonescript The user is told to save the source file by clicking on the disk icon. In the Debian release it's just not there anymore, and file --> save from the menu doesn't always put the file where you think it will.
jkridner: any idea about this issue with the new Cloud9?
Another question. The technical reference manual for the CPU says it has 3 independent PWM modules. Bonescript gives assorted errors when trying to use more than one, "file already exists", "uncaught exception" etc. Can bonescript handle 3 PWMs?
Yes, it can handle running all the PWMs at once. You need to be careful that you aren't using the same PMW on two different pins. Using two different signals out of the same PWM requires you to use the same frequency.
Please paste your problematic code.
I don't think there is a way to bring back the disk icon. File --> Save provides a guide saying where it will save, but you have to be paying attention to it. Agree it would be nice to update the book.
I did get it to work after commenting out 2 of the three in the code and bringing them one at a time. I'm using EHRPWM0. EHRPWM1 and EHRPWM2, it looks like each one can feed two output pins, but it seems to be fussy which one you pick and that's even related to which other PWMs you're using. I did get it going after a lot of trial and error with the pin assignment.
Tom