Arduino: 1.8.3 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" Sketch uses 3058 bytes (1%) of program storage space. Maximum is 253952 bytes. Global variables use 161 bytes (1%) of dynamic memory, leaving 8031 bytes for local variables. Maximum is 8192 bytes. /Users/danurbauer/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude -C/Users/danurbauer/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cwiring -P/dev/cu.usbmodem913 -b115200 -D -Uflash:w:/var/folders/8v/kqzzcnj94mq8nh5pll2wwpc80000gp/T/arduino_build_411288/dans_servo_sketch_WORKS.ino.hex:i avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/Users/danurbauer/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf" User configuration file is "/Users/danurbauer/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cu.usbmodem913 Using Programmer : wiring Overriding Baud Rate : 115200 avrdude: ser_open(): can't open device "/dev/cu.usbmodem913": No such file or directory ioctl("TIOCMGET"): Inappropriate ioctl for device ioctl("TIOCMGET"): Inappropriate ioctl for device avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: Bad file descriptor avrdude: stk500_send(): failed to send command to serial port avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer avrdude done. Thank you. the selected serial port does not exist or your board is not connected This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.