Skip to content

Commit

Permalink
Updated hexes.
Browse files Browse the repository at this point in the history
  • Loading branch information
euphy committed May 19, 2015
1 parent 99badc4 commit d83dfb9
Show file tree
Hide file tree
Showing 7 changed files with 3,806 additions and 3,700 deletions.
10 changes: 1 addition & 9 deletions exec.ino
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,6 @@ void exec_setPosition()
reportPosition();
}

void exec_changeLengthRelative()
{
long lenA = multiplier(atol(inParam1));
long lenB = multiplier(atol(inParam2));

changeLengthRelative(lenA, lenB);
}

void exec_changeLength()
{
float lenA = multiplier((float)atof(inParam1));
Expand Down Expand Up @@ -368,7 +360,7 @@ void exec_drawBetweenPoints(float p1a, float p1b, float p2a, float p2b, int maxS
else
{
Serial.print(MSG_E_STR);
Serial.println(F("Line is not on the page. Skipping it."));
Serial.println(F("Line not on page. Skipping it."));
}
// outputAvailableMemory();
}
Expand Down
2 changes: 0 additions & 2 deletions pixel.ino
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ void pixel_drawScribblePixel()

density = pixel_scaleDensity(density, 255, maxDens);
pixel_drawScribblePixel(originA, originB, size*1.1, density);

// outputAvailableMemory();
}

void pixel_drawScribblePixel(long originA, long originB, int size, int density)
Expand Down
10 changes: 5 additions & 5 deletions polargraph_server_a1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const int DEFAULT_DOWN_POSITION = 90;
const int DEFAULT_UP_POSITION = 180;
static int upPosition = DEFAULT_UP_POSITION; // defaults
static int downPosition = DEFAULT_DOWN_POSITION;
static int penLiftSpeed = 3; // ms between steps of moving motor
static byte penLiftSpeed = 3; // ms between steps of moving motor
byte const PEN_HEIGHT_SERVO_PIN = 9; //UNL2003 driver uses pin 9
boolean isPenUp = false;

Expand All @@ -127,7 +127,7 @@ static int defaultMachineWidth = 650;
static int defaultMachineHeight = 650;
static int defaultMmPerRev = 95;
static int defaultStepsPerRev = 800;
static int defaultStepMultiplier = 1;
static byte defaultStepMultiplier = 1;

float currentMaxSpeed = 800.0;
float currentAcceleration = 400.0;
Expand All @@ -143,7 +143,7 @@ long pageHeight = machineHeight * stepsPerMM;
long maxLength = 0;

//static char rowAxis = 'A';
const int INLENGTH = 50;
const byte INLENGTH = 50;
const char INTERMINATOR = 10;
const char SEMICOLON = ';';

Expand Down Expand Up @@ -244,8 +244,8 @@ void setup()
{
Serial.begin(57600); // set up Serial library at 57600 bps
Serial.println("POLARGRAPH ON!");
Serial.print("Hardware: ");
Serial.println(MICROCONTROLLER);
// Serial.print("Hardware: ");
// Serial.println(MICROCONTROLLER);

#if MICROCONTROLLER == MC_MEGA
Serial.println("MC_MEGA");
Expand Down
Loading

0 comments on commit d83dfb9

Please sign in to comment.