   // Send analogue inputs every 100 ms (10 Hz)
   static unsigned long previousMillis; // static means that the value will be remembered each loop
   unsigned long currentMillis = millis();
-  if(currentMillis - previousMillis > 100) {
+  if((currentMillis - previousMillis) > 100) {
     sendAnalogueInputsMessage();
-	previousMillis = currentMillis;
+    previousMillis = currentMillis;
   }
 
   // Process each received byte through the SLIP decoder

 * Arduino libraries folder.  See: https://www.arduino.cc/en/guide/libraries
 *
 * 2) The Arduino Uno only has a very small amount of RAM (2 kB).  The value of
 * MAX_TRANSPORT_SIZE must be reduce to 200 in OscCommon.h.
 */

#include "Osc99.h"


  // Create OSC packet from OSC message or bundle
  OscPacket oscPacket;
  if(OscPacketInitialiseFromContents(&oscPacket, oscContents) != OscErrorNone) {
    return; // error: unable to create an OSC packet from the OSC contents
  }

  // Encode SLIP packet
  char slipPacket[MAX_OSC_PACKET_SIZE];
  size_t slipPacketSize;
  if(OscSlipEncodePacket(&oscPacket, &slipPacketSize, slipPacket, sizeof (slipPacket)) != OscErrorNone) {
    return; // error: the encoded SLIP packet is too long for the size of slipPacket
  }

