ArduinoA
Arduino3y ago
Toph

```arduino switch( something ) { case VAL1: // 50 lines of complex code break;

  switch( something )
  {
    case VAL1:
      // 50 lines of complex code
      break;
    case VAL2:
      // :
      break;
    // :
   }
vs
  switch( something )
  {
    case VAL1:
      doSomething1();
      break;
    case VAL2:
      doAnotherThing();
      break;
    // :
   }
Was this page helpful?