 const int DISK2_ENC_B = 19;
 const int DISK2_MOTOR_A = 17;
 const int DISK2_MOTOR_B = 18;
+const int DISK2_TICKS_PER_REVOLUTION = 30252;
 
 // Globals
 
-const int TICKS_PER_REVOLUTION = 31000;
-const float TICKS_PER_DEGREE = 1.0f*TICKS_PER_REVOLUTION/360;
-
-const uint8_t MAGNET_SENSITIVITY = 140;
+const uint8_t MAGNET_SENSITIVITY = 160;
 
 #define USER0_STR "0"
 #define USER1_STR "1"

};

Disk disk[3] = {
  Disk(0, DISK0_HOME_SENSOR, DISK0_ENC_A, DISK0_ENC_B, DISK0_MOTOR_A, DISK0_MOTOR_B, &disk0a_isr, &disk0b_isr),
  Disk(1, DISK1_HOME_SENSOR, DISK1_ENC_A, DISK1_ENC_B, DISK1_MOTOR_A, DISK1_MOTOR_B, &disk1a_isr, &disk1b_isr),
  Disk(2, DISK2_HOME_SENSOR, DISK2_ENC_A, DISK2_ENC_B, DISK2_MOTOR_A, DISK2_MOTOR_B, &disk2a_isr, &disk2b_isr)
};

void disk0a_isr() {

DISK 0 DIR 0 USER 1
DISK 0 DIR 1 USER 1
DISK 0 DIR -1 USER 1
DISK 0 DIR 1 USER 1
DISK 1 DIR -1 USER 1
DISK 2 DIR 1 USER 1
DISK-EXIT

PANEL-SET 4 0 100 user0 easein
PANEL-SET 4 1 100 user1 easein
PANEL-SET 4 2 100 user2 easein
PANEL-SET 4 0 100 white pulse
PANEL-SET 4 0 100 white pop
PANEL-SET 3 0 100 error easein
PANEL-SET 3 1 100 white pulse
PANEL-SET 3 2 100 user0 easein
PANEL-SET 3 3 100 user1 easein
PANEL-SET 3 4 100 user2 easein
PANEL-SET 3 5 100 user2 easein


PANEL-SET 3 0 100 error
PANEL-SET 3 1 100 white
PANEL-SET 3 2 100 user0
PANEL-SET 3 3 100 user1
PANEL-SET 3 4 100 user2
PANEL-SET 3 5 100 user2

*/

