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
    • Common Problems
  • Contact

Arduino Sketch    MakerPlot Digital Data Examples


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

int x = 0;                       // values to plot

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

void loop()
{
  for (x = 0; x < 255; x++)
  {
    Serial.print("%[");        // send to MakerPlot
    Serial.print(x);           // 8 bits of digital data
    Serial.println(" ADC 8]"); //note space before ADC
    delay(100);                // delay 100 milliseconds before the next loop
  }
 
}

copyright 2012-2019    LearnOnLine, Inc.
MakerPlot is a product of SelmaWare Solutions, LLC
LearnOnLine, Inc. is the exclusive distributor of MakerPlot