 
 
 
-
-
 void loop() {  
   updateSwitchState();
   


void ui()
{
  Serial.println("UI");  
  SimbleeForMobile.beginScreen(WHITE);
  
  SimbleeForMobile.drawText(60, 90, "Steps");

  stepsLabel = SimbleeForMobile.drawText(60, 310, stepCount);

  SimbleeForMobile.endScreen();
}

// Define the pin that represents the tilt switch
const int tiltSwitch = 6;
int stepCount = 0;
int stepsLabelId = 0;

// Define constants for debounce
const int min_on_time = 5;
