0

32u4 Bluefruit LE Feather
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

32u4 Bluefruit LE Feather

by bkesty on Sat Feb 03, 2018 3:14 pm

Hi, I am trying to read a MCP9808 using a 32u4 Bluefruit LE Feather ported to the IPhone Bluefruit app plotter function. Any help steering me to the closest applicable example code would be most appreciated. I am unclear as to how/where to cache the temperature data to get it sent to the phone.

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by adafruit_support_mike on Sun Feb 04, 2018 4:25 am

The basic idea is to set the nRF51 in data mode, then transmit the data as a comma-separated line of numbers using the .print() function, with a .println() at the end so the plotter knows it's seen all the values for that set.

The demo code is here:

https://github.com/adafruit/Bluefruit_L ... ct_Plotter

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 Bluefruit LE Feather

by bkesty on Sun Feb 04, 2018 4:01 pm

Many Thanks!

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by bkesty on Mon Feb 19, 2018 4:06 pm

I got everything working great and then began to get these errors (must have changed something, but don't see what that could have been):

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.5 (Mac OS X), Board: "Adafruit Feather 32u4"

/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware -hardware /Users/brianesty/Library/Arduino15/packages -tools /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/tools-builder -tools /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/brianesty/Library/Arduino15/packages -built-in-libraries /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/libraries -libraries /Users/brianesty/Desktop/CODING/ARDUINO/libraries -fqbn=adafruit:avr:feather32u4 -vid-pid=0X239A_0X800C -ide-version=10805 -build-path /var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766 -warnings=none -build-cache /var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_cache_756854 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino
/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware -hardware /Users/brianesty/Library/Arduino15/packages -tools /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/tools-builder -tools /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/brianesty/Library/Arduino15/packages -built-in-libraries /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/libraries -libraries /Users/brianesty/Desktop/CODING/ARDUINO/libraries -fqbn=adafruit:avr:feather32u4 -vid-pid=0X239A_0X800C -ide-version=10805 -build-path /var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766 -warnings=none -build-cache /var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_cache_756854 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino
Using board 'feather32u4' from platform in folder: /Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11
Using core 'arduino' from platform in folder: /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src/SPI.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_ATParser.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLE.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLEBattery.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLEEddystone.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLEGatt.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BLEMIDI.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BluefruitLE_SPI.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/Adafruit_BluefruitLE_UART.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51/utility/Adafruit_FIFO.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/utility" "/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/TinyWireM.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/utility" "/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/USI_TWI_Master.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/utility" "/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/Wire.cpp" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/utility" "/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire/utility/twi.c" -o "/dev/null"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808/Adafruit_MCP9808.cpp" -o "/dev/null"
Generating function prototypes...
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=8000000L -DARDUINO=10805 -DARDUINO_AVR_FEATHER32U4 -DARDUINO_ARCH_AVR  -DUSB_VID=0x239A -DUSB_PID=0x800C '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Feather 32u4"' "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/variants/feather32u4" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/src" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect" "-I/Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire" "-I/Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808" "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp" -o "/var/folders/x8/9s3ktd9d5js4ms7drpcz9wnm0000gn/T/arduino_build_432766/sketch/Ochs.ino.cpp.o"
Ochs1:32: error: redefinition of 'Adafruit_MCP9808 tempsensor_a'
 Adafruit_MCP9808 tempsensor_a = Adafruit_MCP9808();
                  ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:29:18: note: 'Adafruit_MCP9808 tempsensor_a' previously declared here
 Adafruit_MCP9808 tempsensor_a = Adafruit_MCP9808();
                  ^
Ochs1:33: error: redefinition of 'Adafruit_MCP9808 tempsensor_b'
 Adafruit_MCP9808 tempsensor_b = Adafruit_MCP9808();
                  ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:30:18: note: 'Adafruit_MCP9808 tempsensor_b' previously declared here
 Adafruit_MCP9808 tempsensor_b = Adafruit_MCP9808();
                  ^
Ochs1:83: error: redefinition of 'Adafruit_BluefruitLE_SPI ble'
   Adafruit_BluefruitLE_SPI ble(BLUEFRUIT_SPI_CS, BLUEFRUIT_SPI_IRQ, BLUEFRUIT_SPI_RST);
                               ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:80:28: note: 'Adafruit_BluefruitLE_SPI ble' previously declared here
   Adafruit_BluefruitLE_SPI ble(BLUEFRUIT_SPI_CS, BLUEFRUIT_SPI_IRQ, BLUEFRUIT_SPI_RST);
                            ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs1.ino: In function 'void error(const __FlashStringHelper*)':
Ochs1:92: error: redefinition of 'void error(const __FlashStringHelper*)'
 void error(const __FlashStringHelper*err) {
      ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:89:6: note: 'void error(const __FlashStringHelper*)' previously defined here
 void error(const __FlashStringHelper*err) {
      ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs1.ino: In function 'void setup()':
Ochs1:103: error: redefinition of 'void setup()'
 void setup(void)
      ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:95:6: note: 'void setup()' previously defined here
 void setup(void)
      ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs1.ino: In function 'void loop()':
Ochs1:154: error: redefinition of 'void loop()'
 void loop(void) {
      ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:147:6: note: 'void loop()' previously defined here
 void loop(void) {
      ^
Multiple libraries were found for "Wire.h"
 Used: /Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire
 Not used: /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire
Using library SPI at version 1.0 in folder: /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
Using library SoftwareSerial at version 1.0 in folder: /Users/brianesty/Desktop/CODING/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial
Using library Adafruit_BluefruitLE_nRF51 at version 1.9.5 in folder: /Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_BluefruitLE_nRF51
Using library Bluefruit_LE_Connect in folder: /Users/brianesty/Desktop/CODING/ARDUINO/libraries/Bluefruit_LE_Connect (legacy)
Using library Wire at version 1.0 in folder: /Users/brianesty/Library/Arduino15/packages/adafruit/hardware/avr/1.4.11/libraries/Wire
Using library Adafruit_MCP9808 at version 1.0.1 in folder: /Users/brianesty/Desktop/CODING/ARDUINO/libraries/Adafruit_MCP9808
exit status 1
redefinition of 'Adafruit_MCP9808 tempsensor_a'
Last edited by adafruit_support_mike on Tue Feb 20, 2018 6:17 am, edited 1 time in total.
Reason: added CODE tags

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by adafruit_support_mike on Tue Feb 20, 2018 6:19 am

From the error messages, it looks like you're declaring two variables with the same name: 'tempsensor_a'.

One should be on line 29, and the other should be on line 32.

Code: Select all | TOGGLE FULL SIZE
Ochs1:32: error: redefinition of 'Adafruit_MCP9808 tempsensor_a'
 Adafruit_MCP9808 tempsensor_a = Adafruit_MCP9808();
                  ^
/Users/brianesty/Desktop/CODING/ARDUINO/Ochs/Ochs.ino:29:18: note: 'Adafruit_MCP9808 tempsensor_a' previously declared here
 Adafruit_MCP9808 tempsensor_a = Adafruit_MCP9808();
                  ^

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 Bluefruit LE Feather

by bkesty on Fri Aug 23, 2019 2:27 pm

Hi,
I am reading 2 ADS 1115 sensors and trying to port the data to the Bluefruit iPhone app.
I can see the data on the serial plotter and can see the 32u4Bluefuit LE (2829) talking to the app (blue light on board turns on and app connects to the board), but cannot get the data to appear in the UART.

If you could take a look and tell me what I am missing I would greatly appreciate it:

Code: Select all | TOGGLE FULL SIZE
#include <Arduino.h>
#include <SPI.h>
#if not defined (_VARIANT_ARDUINO_DUE_X_) && not defined (_VARIANT_ARDUINO_ZERO_)
#endif
#include <SoftwareSerial.h>

#include "Adafruit_BLE.h"
#include "Adafruit_BluefruitLE_SPI.h"
#include "Adafruit_BluefruitLE_UART.h"
#include "BluefruitConfig.h"
#include <Adafruit_ADS1015.h>

#define FACTORYRESET_ENABLE         1
#define MINIMUM_FIRMWARE_VERSION    "0.6.6"
#define MODE_LED_BEHAVIOUR          "MODE"
#define SEND_SECOND_PLOT            0

//Adafruit_BluefruitLE_UART ble(BLUEFRUIT_HWSERIAL_NAME, BLUEFRUIT_UART_MODE_PIN);
Adafruit_BluefruitLE_SPI ble(BLUEFRUIT_SPI_CS, BLUEFRUIT_SPI_IRQ, BLUEFRUIT_SPI_RST);


//VARIABLES
int ONOFF = 13;
int val = 0;
int A = 0;
int B = 0;
int C = 0;
int D = 0;

Adafruit_ADS1115 ads0;  /* Use this for the 16-bit version */
Adafruit_ADS1115 ads1(0x49);
//Adafruit_ADS1015 ads;     /* Use thi for the 12-bit version */

void setup(void)
{
  pinMode (ONOFF, OUTPUT);
  digitalWrite(ONOFF,HIGH);
  Serial.begin(9600);

  //
  //----------------------------------------------------------------------------------
  // BLE
  //
 
  ble.echo(false);
  ble.info();
  ble.verbose(false);

//  while (! ble.isConnected()) {
//  delay(500);
//  }

  if ( ble.isVersionAtLeast(MINIMUM_FIRMWARE_VERSION) )
  {
    // Change Mode LED Activity
    Serial.println(F("Change LED activity to " MODE_LED_BEHAVIOUR));
    ble.sendCommandCheckOK("AT+HWModeLED=" MODE_LED_BEHAVIOUR);
  }

  // Set module to DATA mode
  Serial.println( F("Switching to DATA mode!") );
  ble.setMode(BLUEFRUIT_MODE_DATA);

  Serial.println(F("******************************"));

  //
  //-----------------------------------------------------------------------------------
  // ADC
  //
  Serial.println("Getting differential reading from AIN0 (P) and AIN1 (N)");
  Serial.println("ADC Range: +/- 6.144V (1 bit = 3mV/ADS1015, 0.1875mV/ADS1115)");

  // The ADC input range (or gain) can be changed via the following
  // functions, but be careful never to exceed VDD +0.3V max, or to
  // exceed the upper and lower limits if you adjust the input range!
  // Setting these values incorrectly may destroy your ADC!
  //                                                                ADS1015  ADS1115
  //                                                                -------  -------
  // ads.setGain(GAIN_TWOTHIRDS);  // 2/3x gain +/- 6.144V  1 bit = 3mV      0.1875mV (default)
  // ads.setGain(GAIN_ONE);        // 1x gain   +/- 4.096V  1 bit = 2mV      0.125mV
  // ads.setGain(GAIN_TWO);        // 2x gain   +/- 2.048V  1 bit = 1mV      0.0625mV
  // ads.setGain(GAIN_FOUR);       // 4x gain   +/- 1.024V  1 bit = 0.5mV    0.03125mV
  // ads.setGain(GAIN_EIGHT);      // 8x gain   +/- 0.512V  1 bit = 0.25mV   0.015625mV
   ads0.setGain(GAIN_SIXTEEN);    // 16x gain  +/- 0.256V  1 bit = 0.125mV  0.0078125mV
   ads1.setGain(GAIN_SIXTEEN);
   
  ads0.begin();
  ads1.begin();
  delay(1000); // Let Strain Gauges warm up before taking readings
  digitalWrite (ONOFF, HIGH); // Power LED
}

void loop(void)
{
  int16_t RFront, RRear, LFront, LRear;
 
  /* Be sure to update this value based on the IC and the gain settings! */
 // float   multiplier = 3.0F;    /* ADS1015 @ +/- 6.144V gain (12-bit results) */
  float multiplier = 0.0078125F; /* ADS1115  @ +/- 6.144V gain (16-bit results) */

  RRear = ads0.readADC_Differential_0_1();
  RFront = ads0.readADC_Differential_2_3();
  LRear = ads1.readADC_Differential_0_1();
  LFront = ads1.readADC_Differential_2_3();   
   
  /*Serial.print("RFront: "); Serial.print(RFront); Serial.print("("); Serial.print(RFront * multiplier); Serial.println("mV)");
  Serial.print("RRear: "); Serial.print(RRear); Serial.print("("); Serial.print(RRear * multiplier); Serial.println("mV)");
  Serial.println();
  Serial.print("LFront: "); Serial.print(LFront); Serial.print("("); Serial.print(LFront * multiplier); Serial.println("mV)");
  Serial.print("LRear: "); Serial.print(LRear); Serial.print("("); Serial.print(LRear * multiplier); Serial.println("mV)");
  Serial.println();*/

 
  //A = (LFront * multiplier);
 
  //val = (A);
  //String stringVal = String(A, DEC);        // creates a string array to send over BLE
  //String stringVal2 = String("RR," + stringVal);
  //ble.print(stringVal2);
 
  ble.print(RFront);
  delay(20);
 
  delay(1000);
}
Last edited by adafruit_support_mike on Fri Aug 23, 2019 11:42 pm, edited 1 time in total.
Reason: added CODE tags

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by adafruit_support_mike on Fri Aug 23, 2019 11:44 pm

Use ble.print() to send strings through the BLE module, and Serial.print() to send them to the Serial Monitor.

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 Bluefruit LE Feather

by bkesty on Sat Aug 24, 2019 10:46 am

I am using this:
ble.print(stringVal);
but got nothing on the app UART.

I think it may in have I have the 32u4 BLE microcontroller configured, which is why I sent the code.

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by adafruit_support_mike on Sat Aug 24, 2019 9:25 pm

Try dropping back to the example sketches that come with the BLE library. Do those work as expected?

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Re: 32u4 Bluefruit LE Feather

by bkesty on Sun Aug 25, 2019 1:39 pm

Yes.
Can you recommend the best BLE sketch to model this application upon?
I simply want to port data from the ADC sensors to the phone - no bidirectional communication etc.
Thanks!

bkesty
 
Posts: 9
Joined: Wed Jan 03, 2018 4:18 pm

Re: 32u4 Bluefruit LE Feather

by adafruit_support_mike on Wed Aug 28, 2019 12:08 am

Take it in stages..

Testing with the example code shows that all the hardware works and the Feather's BLE module does communicate with the phone.. that eliminates a lot of debugging.

With that knowledge, you can start with a basic sketch that sends "hello, world.\n" or something. Again, it's not the final product, just a step toward getting there. Paring the code down to the simplest form possible, you can concentrate on the one thing it's supposed to do.. in this case, send a message to the BLE Connect App's UART.

Once that works, you can start playing with strings stored in a variable, strings generated from other values in the code, etc. Each small change will move you one step closer to the final result you want.

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.