Updated the readme to show that the master branch is now for Arduino Due
Merge branch 'master' of https://github.com/collin80/GEVCU into ArduinoDue
fixed a few glitches to get it compiling
Added Wrapper class and pre-compiler checks to be able to support Uno and Due based platforms.

Added CanHandler (can_handler.c) which wraps the Due CAN and the machina CAN and moved all implementation
specific code there (mainly from GEVCU.ino and DMOC.cpp).
* Added GEVCU.h to move definitions and includes out of the main code.
* Added config.h to define global definitions centralls (e.g. pin assignments)
* Added some code in GEVCU.ino to monitor values on an LCD screen (will be moved to a separate class)
* Re-Added Machina specific code to pref_handler.cpp and timer.cpp
* Added .project and .cproject files so it can be loaded into eclipse as an existing project with the plugin from http://www.baeyens.it/eclipse/V2 (much better than the stock IDE).

Note: The code compiles fine for both platforms in Eclipse (with http://www.baeyens.it/eclipse/V2)
and the Arduino IDE. But the binaries were not verified on the boards yet (as I still lack a CAN shield
for the Due and a Machina).
fixed minor glitch to get the LCD stuff compiling if desired.
Merge branch 'master' of https://github.com/collin80/GEVCU

Conflicts:
	GEVCU.ino
	dmoc.cpp
	ichip_2128.cpp
	ichip_2128.h
	sys_io.cpp
Merge branch 'master' of https://github.com/collin80/GEVCU into ArduinoDue
Merge pull request #4 from neuweiler/master

Wrapper class for CAN bus

Also there were additional changes to better make the project cross platform for both Due and Macchina

All changes in this commit by Neuweiler
Update VS2012 project files to include new files that were added to project.
Initial implementation of brake input

Implemented to read an analog brake pressure sensor. This makes the regen
scale with brake pressure so both systems apply at once.
Extra comments in code and implementation of automatic op/gear state in DMOC

The DMOC code now automatically sets enabled op state when you try to go into gear. No more having to manually do this. Also, it won't actually shift into gear until the op state is enabled. This should make things completely automatic except that you still have to specify whether to go forward or backward.