Skip to content

Instantly share code, notes, and snippets.

@pwillard
Created March 11, 2016 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwillard/e055ffb223dae102dacd to your computer and use it in GitHub Desktop.
Save pwillard/e055ffb223dae102dacd to your computer and use it in GitHub Desktop.
Wprogram

WProgram and Arduino

One of the difficult changes that occurred in the move from the early Arduino Environment release to version 1.0 is the name change of the header file from WProgram.h to Arduino.h. It was a good change, but it broke all of the libraries that were created prior to version 1.0 so there were many existing libraries that needed to be fixed before sketches could be compiled without errors again. The file, WProgram.h, actually means "Wiring Program" and since Arduino is not Wiring anymore but is a fully developed fork of it, it made sense to change it to match the new Arduino IDE environment. At the same time, the default extension of "PDE" was changed to "INO" for very similar reasons, since PDE is the extension name for "Processing Development Environment". Prior to version 1 of the IDE, the PDE extension made it difficult to quickly identify true Processing code that was intended for the users computer from the code that was intended for the Arduino device. It needed to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment