This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Arduino 1.6.3.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino 1.6.3.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/cu.usbmodemfd41141 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0x9E:m -Ulfuse:w:0xFF:m | |
avrdude: Version 6.0.1, compiled on Mar 30 2015 at 12:15:29 | |
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ | |
Copyright (c) 2007-2009 Joerg Wunsch | |
System wide configuration file is "/Applications/Arduino 1.6.3.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" | |
User configuration file is "/Users/USERNAME/.avrduderc" | |
User configuration file does not exist or is not a regular file, skipping | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
display.begin(SSD1306_SWITCHCAPVCC); | |
display.display(); // show splashscreen | |
delay(1000); | |
display.clearDisplay(); // clears the screen and buffer | |
// use 38400 since it works at 8MHz | |
Serial.begin(38400); | |
while (!Serial); | |
//Configure BLE | |
bleManager.setupBluetooth(); | |
bleManager.setBLEEventHandle(incomingMessageCallback); |