This is an old revision of the document!
(Improvements, tips, more basics, etc are welcome here!)
What follows is a list of tips and differences for using the DigiX vs using the Arduino Due - for most users we've set everything up (if you're using our modified IDE) so it will work how you expect - but if you have questions about pin assignments, serial ports, etc - here are some answers.
Otherwise - Here is a great getting started guide that applies to the DigiX just as well: http://arduino.cc/en/Guide/ArduinoDue
Tips:
If the COM port isn't showing in the Arduino IDE - unplug and replug the board. If that doesn't work - unplug, hold down the erase button on the board for a moment and then replug - you may then have to select it from the com port menu as it may be on a different port - but it is a sure way to get it to respond even if your sketch crashed the USB stack.
Since the DigiX has only one USB port and it uses a CDC serial stack the DigiX does not reset when the port is opened, using the code below in setup() can pause the sketch until you connect and send a character form the serial monitor:
Serial.begin(9600);
//DigiX trick - since we are on serial over USB wait for character to be entered in serial terminal before continuing
while(!Serial.available()){
Serial.println("Enter any key to begin");
delay(1000);
}
Differences when using the modified Arduino IDE:
If you have installed the DigiX additions to the Arduino IDE (either in the form of the Digistump version of the IDE or the add-on files) and you use the “DigiX” board option to program your DigiX then you should be aware of the following differences:
Differences when using the unmodified Arduino IDE:
If you have not installed the DigiX additions to the Arduino IDE (either in the form of the Digistump version of the IDE or the add-on files) and you use the “Arduino Due (Native Port)” option to program your DigiX then the following differences need to be taken into account:
Schematic: http://digispark.s3.amazonaws.com/DigiX-V1-Final-Production.pdf Main MCU data sheet: http://www.atmel.com/Images/doc11057.pdf EEPROM Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/21713M.pdf Wifi Info: Setting up the WiFi connection (first time use/new location): Mesh info: mesh