-
Notifications
You must be signed in to change notification settings - Fork 27
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
SimpleSerialArduinoscope.pde "error" #14
Comments
I'm not sure since you are not providing enough context in that screenshot above. Also, that line of code you are referencing has nothing to do with the Processing Arduino library. However if you provide the full code I may still be able to help if you have not already found the answer elsewhere. |
the same problem (c) 2009 David Konsumer david.konsumer@gmail.com This library is free software; you can redistribute it and/or This library is distributed in the hope that it will be useful, You should have received a copy of the GNU Lesser General /* Serial data comes in, in the format 1 23 34 4 5 76 (space seperates pin=data, LF-seperated frame data) */ import arduinoscope.; // this example requires controlP5 // how many scopes, you decide. PFont fontLarge; int LINE_FEED=10; int[] vals; void setup() { controlP5 = new ControlP5(this); // set these up under tools/create font, if they are not setup. int[] dimv = new int[2]; // setup vals from serial for (int i=0;i<scopes.length;i++){
} port = new Serial(this, Serial.list()[0], 115200); // clear and wait for linefeed void draw() // int[] vals = getTestValuesSquare(); for (int i=0;i<scopes.length;i++){
} // draw text seperator, based on first scope // update buttons } // handles button clicks // button families are in chunks of 50 to avoid collisions // handle serial data // for test data, you can comment, if not using int[] getTestValuesSin(){ // this is test data int sval = (int) abs(sin(d*2)*1023.0f); d++; return vals; int oldtime; int[] getTestValuesSquare(){ ct.setSpeedOfTime(25); if (oldtime==time){ for (int i=0;i<scopes.length;i++){ return vals; |
Try changing |
Unfortunately not! My port is / dev / ttyUSB0, so I handle: |
Does the arduinoscope library use Firmata as a dependency? |
Good evening, I am Rinaldy from Indonesia.
I was experimenting with arduino atmega 2560 to make an oscilloscope using arduino.
When I run code processing, I get an error message "The Function id() does not exist"
as shown in the picture below.
Thank you for the help
The text was updated successfully, but these errors were encountered: