-
Notifications
You must be signed in to change notification settings - Fork 133
Contribution to arduino plugin #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added the Nebula Oscilloscope jar to lib folder Added a Scope View Added a ScopeListener to handle the OscilloScope Connected the Scope View to the Serial Added "Open Scope" to the toolbar with icon Changed the Serial Monitor view icon Added scope control commands to the serial monitor view Added the "setscope toggleTailFade" serial command Added the "setscope delayLoop nnn" serial command
wim Thanks Very cool :-) Your integration image looks great :-) I'll start from this and I'll have a look at how I can add the stuff I already had. Jantje
|
Thanks! Still some bugs to fix. I will ask for a new pull shortly. |
|
Where can I get the latest version ? |
|
here on github is the latest "published code" each and every contributor may have a "latest version" on his/her system. |
|
wim |
|
Could you upload the latest version as a developer snapshot or something like this ? |
|
If you do not want to build the plugin yourself; i can only advice patience. |
|
Hi Darcade, I just spent a little time working out how to run/debug these plugins from source. Please see the readme.md file (and screenshots referenced) in my fork @ https://github.com/brodykenrick/arduino-eclipse-plugin/blob/master/readme.md for my notes. It is still rough but please update these instructions with anything I may have missed. Eventually I'll see if Jantje thinks this is good to pull into his main repository. Cheers, On Oct 21, 2013, at 8:31 AM, Darcade [email protected] wrote:
|
|
Sure |

Hi Jantje,
Please consider accepting these changes:
Changed Serial to accept multiple MessageConsumers
Registered the Serial as an OSGi service
Added the Nebula Oscilloscope jar to lib folder
Added a Scope View
Added a ScopeListener to handle the OscilloScope
Connected the Scope View to the Serial
Added "Open Scope" to the toolbar with icon
Changed the Serial Monitor view icon
Added scope control commands to the serial monitor view
Added the "setscope toggleTailFade" serial command
Added the "setscope delayLoop nnn" serial command
Please see the attached sketch for some serial fun.
Cheers,
Wim
// Do not remove the include below
include "test_x_x_x.h"
/*
Sine curve
Puts a sine curve into the serial to demonstrate the oscilloscope
This example code is in the public domain.
*/
double value = 3.1415927;
double counter = 0.1;
void setup() {
value = 3.1415927;
counter = 0.1;
boolean init = false;
Serial.begin(115200);
}
// the loop routine runs over and over again forever:
void loop() {
value += counter;
if (value > 2 * PI) {
value = 0;
}
Serial.println((int) (sin(value) * 100));
delay(20);
}