MakerPlot
  • Home
  • Features
  • Free Trial
  • Buy
  • New
  • More
    • Guide
    • Interfaces
    • Videos >
      • Basic Plotting
      • Interfaces
      • Learn
      • Maker
    • Arduino Sketches
    • FAQ
    • Building Tools
    • Custom Interfaces
    • Developers
    • Hot Keys
    • License Information
    • Trademarks
    • Terms and Conditions
    • Common Problems
  • Contact

Arduino Sketch    MakerPlot Analog Data Examples


// MakerPlot Analog Data Examples
// This sketch is in the public domain


int x = 0;                       // values to plot
int y = 250;
int z = 500;

void setup() {
  // configure hardware
  // initialize serial communications at 9600 bps:
  Serial.begin(9600);
}

void loop()
{
  for (x = 0; x < 250; x++)
  {
  Serial.print(x);        // send x to MakerPlot
  Serial.print(",");
  Serial.print(y-x);
  Serial.print(",");
  Serial.println(z -(2*x));
  delay(50);              // delay 50 milliseconds before the next loop
  }
copyright  LearnOnLine, Inc.
MakerPlot is a product of SelmaWare Solutions, LLC
LearnOnLine, Inc. is the exclusive distributor of MakerPlot