 
   if(!button[LEFT] && buttonOld[LEFT])
   {
-    if(res < 1000000)
+    if(res < 10000000000000)
     {
       res *= 10;
       dspPos--;

{
  if(energy > speed)
  {
    analogWrite(LED_R, 255 - red / 8);
    analogWrite(LED_G, 255 - grn / 10);
    analogWrite(LED_B, 255 - blu / 12);
  }
  else
  {

      serBuffer[serIndex] = 0;
      if(serIndex == 4)
      {
        energy = 1000000000000 * atoi(serBuffer);
        energyTimer = 53;
      }
      if(serIndex == 11)
