 Philips PCD8544 Controller and interface code.
 
 Basis of library pulled from: http://playground.arduino.cc/Code/PCD8544
-Mostly unmodified except for pin mappings in first commit.
+Mostly unmodified except for pin mappings in first commit, modified since
+
+Currently displays cadence data to lcd screen.
+Pin mapping follows as defined below, with vcc and gnd going directly between the
+dev board and the screen, and a 330 ohm resistor between the backlight pin(P1_2), and the screen.
+Note that the pin labled SCL* on the dev board is used instead of SCLK for the screen SCLK input.
+
+Ryan Becwar
 */
+
+#include <stdlib.h>
 
 #define PIN_SCE   P1_5
 #define PIN_RESET P1_4

  LcdWrite(LCD_C, 0x20); //back to display mode
}

void setup(void)
{
  LcdInitialise();
  LcdClear();
  Serial.println("writing out");
  LcdString("Hello World!!!!!!");
}

void loop(void)
{
}


#define LCD_X     84
#define LCD_Y     48

//Cadence will never go above 200, so 8 bit ints work well
uint8_t targetCadence = 0;
uint8_t currentCadence = 0;

volatile int flag = HIGH;


static const byte ASCII[][5] =
{
