SimpleIDE bug???
NWCCTV
Posts: 3,629
I know SimpleIDE is still in Beta but I have been using it this past week so I can get use to it. I really like it but I have noticed that when I add code to my Project files and close the Project, the entire Project is saved as is whether I choose to discard or not. This is a little annoying as I am trying to use the examples and do not wish to overwrite them. Even when I do a "Save As" a different file name and then close the Project, it comes back up with the most recent code I have entered. Has anyone else noticed this? Also, I tried to create a New Project and when I copy and pasted the code from the examples for the Servoramp.c I receive an error message when trying to compile. I tried with an exact duplicate of the code that was copy and pasted to my new project and I receive an error pertaining to invalid reference to _mark. I searched servo.h for this and could not find it.

Comments
https://code.google.com/p/propside/issues/detail?id=164
The second problem you mentioned is addressed in a newer package.
Can you copy/paste your code here so I can verify the new version will address the issue?
We have gone to great lengths to let folks just copy/paste code (not an original design goal).
https://code.google.com/p/propside/downloads/detail?name=Simple-IDE_0-9-34_setup.zip
This is not a release candidate and there may be changes to Simple Libraries and/or APIs before release.
If you download 0-9-34, please follow the instructions from that page:
/*Standard Servo with Ramping.c Moves servo to 0, 90 and 180 degrees. Allows 2 seconds to get to each position. Uses ramping to gradually move the servo to the target. learn.parallax.com/propeller-c-simple-devices/standard-servo-ramping */ #include "simpletools.h" // Include simpletools header #include "servo.h" // Include servo header int main() // main function { servo_angle(16, 0); // P16 servo to 0 degrees pause(3000); // ...for 3 seconds servo_angle(16, 900); // P16 servo to 90 degrees pause(3000); // ...for 3 seconds servo_angle(16, 1800); // P16 servo to 180 degrees pause(3000); // ...for 3 seconds servo_stop(); // Stop servo process }Error Codes:
Yes, this is expected in v0-9-28 because just copy/paste will not work. In v0-9-28, you have to add libraries for it to work. Version 0-9-34 adds libraries for you but compiles slower.
So, yes, you should upgrade to v0-9-34 ... the package is smaller too
No.
However, if you remove or rename your Documents\SimpleIDE folder and restart SimpleIDE, you will get a new workspace and libraries in Documents\SimpleIDE copied from the Program Files\SimpleIDE\Workspace folder.
Our deadline for a general release is before the end of summer. We are still working on libraries.