Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.cpp
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.cpp	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.cpp	(revision 20)
@@ -8,5 +8,5 @@
  * This is the documentation for Adafruit's CircuitPlayground driver for the
  * Arduino platform.  It is designed specifically to work with the
- * Adafruit CircuitPlayground boards: 
+ * Adafruit CircuitPlayground boards:
  *  - https://www.adafruit.com/products/3000
  *  - https://www.adafruit.com/products/3333
@@ -31,5 +31,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief  Set up the CircuitPlayground hardware
     @param  brightness Optional brightness to set the neopixels to
@@ -51,4 +51,7 @@
   irReceiver=IRrecvPCI(CPLAY_IR_RECEIVER);
   irDecoder=IRdecode();
+  // since we aren't calling speaker.begin() anymore, do this here
+  pinMode(CPLAY_SPEAKER_SHUTDOWN, OUTPUT);
+  digitalWrite(CPLAY_SPEAKER_SHUTDOWN, HIGH);
 #endif
 
@@ -86,5 +89,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief  read capacitive touch sensor
     @param  p the pin to read. Must be a captouch enabled pin.
@@ -126,5 +129,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief turn on or off the red LED on pin #13
     @param  v pass true to turn LED on, false to turn LED off
@@ -136,5 +139,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the slide switch
     @returns true if slide switch in set, false if not
@@ -146,6 +149,6 @@
 
 /**************************************************************************/
-/*! 
-    @brief read the left button 
+/*!
+    @brief read the left button
     @returns true if button is pressed, false if not
 */
@@ -156,5 +159,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the right button
     @returns true if button is pressed, false if not
@@ -166,10 +169,10 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief play a tone on the onboard buzzer
     @param  freq the frequency to play
     @param  time the duration of the tone in milliseconds
     @param  wait Optional flag to wait for time milliseconds after playing the tone. Defaults to true.
-    @note The driver circuitry is an on/off transistor driver, so you will only be able to play square waves. 
+    @note The driver circuitry is an on/off transistor driver, so you will only be able to play square waves.
     It is also not the same loudness over all frequencies but is designed to be the loudest at around 4 KHz
 */
@@ -208,7 +211,7 @@
   lo2     = (ocr >> 1) & 0xFF;
   noInterrupts();                     // TC4H accesses MUST be atomic
-  TC4H    = hi1;      
+  TC4H    = hi1;
   OCR4C   = lo1;                      // TOP
-  TC4H    = hi2;      
+  TC4H    = hi2;
   OCR4A   = lo2;                      // 50% duty
   interrupts();
@@ -225,10 +228,10 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the onboard lightsensor
     @returns value between 0 and 1023 read from the light sensor
-    @note 1000 Lux will roughly read as 2 Volts (or about 680 as a raw analog reading). 
-      A reading of about 300 is common for most indoor light levels. 
-      Note that outdoor daylight is 10,000 Lux or even higher, so this sensor is best 
+    @note 1000 Lux will roughly read as 2 Volts (or about 680 as a raw analog reading).
+      A reading of about 300 is common for most indoor light levels.
+      Note that outdoor daylight is 10,000 Lux or even higher, so this sensor is best
       suited for indoor light levels!
 */
@@ -239,5 +242,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the onboard sound sensor. A reading of ~0 is silent, and
     loud audio will result in a reading between -500 and 500 or so.
@@ -252,5 +255,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the X parameter of the onboard accelerometer. Value returned is
      defined by setAccelRange().
@@ -265,5 +268,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the Y parameter of the onboard accelerometer. Value returned is
      defined by setAccelRange().
@@ -278,5 +281,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the Z parameter of the onboard accelerometer. Value returned is
      defined by setAccelRange().
@@ -291,5 +294,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the onboard thermistor.
     @returns temperature reading in Centigrade.
@@ -322,5 +325,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief read the onboard thermistor.
     @returns temperature reading in Farenheight.
@@ -333,5 +336,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief get a color value from the color wheel.
     @param WheelPos a value 0 to 255
@@ -353,9 +356,9 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief detect a color value from the light sensor
     @param red the pointer to where the red component should be stored.
     @param green the pointer to where the green component should be stored.
-    @param blue the pointer to where the blue component should be stored.    
+    @param blue the pointer to where the blue component should be stored.
     @returns the components of the detected colors in the passed pointers.
 */
@@ -395,5 +398,5 @@
 
 /**************************************************************************/
-/*! 
+/*!
     @brief check whether or not this device is a CircuitPlayground Express.
     @returns True if the device is a CircuitPlayground Express, false if it is a 'classic'.
Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/README.md
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/README.md	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/README.md	(revision 20)
@@ -1,3 +1,3 @@
-# Adafruit CircuitPlayground Library [![Build Status](https://travis-ci.org/adafruit/Adafruit_CircuitPlayground.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_CircuitPlayground)
+# Adafruit CircuitPlayground Library [![Build Status](https://travis-ci.com/adafruit/Adafruit_CircuitPlayground.svg?branch=master)](https://travis-ci.com/adafruit/Adafruit_CircuitPlayground)
 
 <img src="https://cdn-shop.adafruit.com/970x728/3333-01.jpg" height="300"/>
Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/library.properties
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/library.properties	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/library.properties	(revision 20)
@@ -1,4 +1,4 @@
 name=Adafruit Circuit Playground
-version=1.8.4
+version=1.8.6
 author=Adafruit
 maintainer=Adafruit <info@adafruit.com>
Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_LIS3DH.h
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_LIS3DH.h	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_LIS3DH.h	(revision 20)
@@ -180,10 +180,9 @@
   uint8_t spixfer(uint8_t x = 0xFF);
 
-
-  int32_t _sensorID;
-  int8_t  _i2caddr;
-
   // SPI
   int8_t _cs, _mosi, _miso, _sck;
+
+  int8_t  _i2caddr;
+  int32_t _sensorID;
 };
 
Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_NeoPixel.cpp
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_NeoPixel.cpp	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/Adafruit_CPlay_NeoPixel.cpp	(revision 20)
@@ -713,5 +713,5 @@
 // table (in flash memory) holding an 8-bit unsigned sine wave (0-255).
 static const int _SBASE_ = __COUNTER__ + 1; // Index of 1st __COUNTER__ below
-#define _S1_ (sin((__COUNTER__ - _SBASE_) / 128.0 * M_PI) + 1.0) * 127.5 + 0.5,
+#define _S1_ (uint8_t) ((sin((__COUNTER__ - _SBASE_) / 128.0 * M_PI) + 1.0) * 127.5 + 0.5),
 #define _S2_ _S1_ _S1_ _S1_ _S1_ _S1_ _S1_ _S1_ _S1_ // Expands to 8 items
 #define _S3_ _S2_ _S2_ _S2_ _S2_ _S2_ _S2_ _S2_ _S2_ // Expands to 64 items
@@ -721,5 +721,5 @@
 #define _GAMMA_ 2.6
 static const int _GBASE_ = __COUNTER__ + 1; // Index of 1st __COUNTER__ below
-#define _G1_ pow((__COUNTER__ - _GBASE_) / 255.0, _GAMMA_) * 255.0 + 0.5,
+#define _G1_ (uint8_t) (pow((__COUNTER__ - _GBASE_) / 255.0, _GAMMA_) * 255.0 + 0.5),
 #define _G2_ _G1_ _G1_ _G1_ _G1_ _G1_ _G1_ _G1_ _G1_ // Expands to 8 items
 #define _G3_ _G2_ _G2_ _G2_ _G2_ _G2_ _G2_ _G2_ _G2_ // Expands to 64 items
Index: trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/talkie.cpp
===================================================================
--- trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/talkie.cpp	(revision 19)
+++ trunk/Arduino/libraries/Adafruit_Circuit_Playground/utility/talkie.cpp	(revision 20)
@@ -9,5 +9,5 @@
 #define USEC  ((1000000 + (FS / 2)) / FS) // Sample period (microseconds)
 
-static const int16_t PROGMEM
+static const uint16_t PROGMEM
   tmsK1[]     = {0x82C0,0x8380,0x83C0,0x8440,0x84C0,0x8540,0x8600,0x8780,
                  0x8880,0x8980,0x8AC0,0x8C00,0x8D40,0x8F00,0x90C0,0x92C0,
@@ -19,5 +19,5 @@
                  0x69C0,0x6CC0,0x6F80,0x71C0,0x73C0,0x7580,0x7700,0x7E80};
 
-static const int8_t PROGMEM
+static const uint8_t PROGMEM
   tmsK3[]     = {0x92,0x9F,0xAD,0xBA,0xC8,0xD5,0xE3,0xF0,
                  0xFE,0x0B,0x19,0x26,0x34,0x41,0x4F,0x5C},
Index: trunk/Arduino/libraries/Servo/library.properties
===================================================================
--- trunk/Arduino/libraries/Servo/library.properties	(revision 19)
+++ trunk/Arduino/libraries/Servo/library.properties	(revision 20)
@@ -1,4 +1,4 @@
 name=Servo
-version=1.1.4
+version=1.1.5
 author=Michael Margolis, Arduino
 maintainer=Arduino <info@arduino.cc>
Index: trunk/Arduino/libraries/Servo/src/megaavr/ServoTimers.h
===================================================================
--- trunk/Arduino/libraries/Servo/src/megaavr/ServoTimers.h	(revision 19)
+++ trunk/Arduino/libraries/Servo/src/megaavr/ServoTimers.h	(revision 20)
@@ -25,6 +25,8 @@
 #define __SERVO_TIMERS_H__
 
-#define USE_TIMERB1        // interferes with PWM on pin 3
-//#define USE_TIMERB2        // interferes with PWM on pin 11
+#include <avr/io.h>
+
+//#define USE_TIMERB1        // interferes with PWM on pin 3
+#define USE_TIMERB2        // interferes with PWM on pin 11
 //#define USE_TIMERB0        // interferes with PWM on pin 6
 
