Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jazonshou authored Feb 8, 2025
1 parent e56be87 commit d3039c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ Use the [PROS CLI](https://github.com/purduesigbots/pros-cli/releases) to instal
#include "Graphy/Grapher.hpp"

// Create grapher
std::shared_ptr<graphy::AsyncGrapher> grapher(new graphy::AsyncGrapher("Flywheel Velocity vs. Time"));
std::shared_ptr<graphy::AsyncGrapher> grapher(
new graphy::AsyncGrapher("Flywheel Velocity vs. Time"));

// Add data types
grapher->addDataType("Desired Vel", COLOR_ORANGE);
grapher->addDataType("Actual Vel", COLOR_AQUAMARINE);
grapher->addDataType("Desired Vel", pros::c::COLOR_ORANGE);
grapher->addDataType("Actual Vel", pros::c::COLOR_AQUAMARINE);

// Start grapher task
grapher->startTask();
Expand Down

0 comments on commit d3039c7

Please sign in to comment.