   mma.setRange(MMA8451_RANGE_8_G);
   lcd.print("Ready!");
 }
-  
+
 void loop() {
   mma.read();
-  
-  /* Get a new sensor event */ 
-  sensors_event_t event; 
+
+  /* Get a new sensor event */
+  sensors_event_t event;
   mma.getEvent(&event);
 
   lcd.clear();
-  
+
   lcd.print("Current Speed");
   lcd.setCursor(0,1);
   lcd.print("Y:");

  pinMode(LCD_BACKLIGHT, OUTPUT);
  analogWrite(LCD_BACKLIGHT, 40);
  analogWrite(LCD_CONTRAST, 120);
  
  lcd.begin(16,2);
  
  if (! mma.begin()) {
    lcd.print("No accel start");
    while (1);

/*
  A wheel encoder speedometer and accelerometer for the tyke's scooter
*/

#include <LiquidCrystal.h>
