Skip to content

Instantly share code, notes, and snippets.

View donothingbox's full-sized avatar

DoNothingBox LLC donothingbox

View GitHub Profile
@donothingbox
donothingbox / gist:73247170a120726f0fc1
Created May 11, 2015 21:52
Output message of Microduino 1284p 8mhz & Arduino 1.6.3
/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
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);