added support for Kingmeter J_LCD
Fix compile error when backlight support is enabled
Increase max backlight on time from 30s to 60s (int -> unsigned int)
Implement software poti emulation, off by default

The switch_disp button will store the current throttle value as poti value
Start to cut off speed at 22 km/h instead of 23 km/h by default

Using 23 km/h resulted in the motor switching
constantly on and off. 22 km/h gives a smoother ride.
Add some purpose to display switch #2

Right now it switches on the display backlight
for 60 seconds. No real use yet though it's nice
to enable the backlight at night.
changed comments to reflect Arduinos analog input range from 0 - 1023(!)
Merge pull request #16 from agentmnm/master

changed comment in config.h
agentmnm: introduced the constants motor_max and motor_offset...

... as replacement for throttle_max and throttle_offset in order to use throttle_max and throttle_offset properly
reflecting the changes made in config.h and Arduino_Pedelec_Controller.ino
added config option "SERIAL_MODE" to decide which type of data should be sent over the serial port.
Add DISPLAY_TYPE_NONE and SERIAL_MODE_NONE

Explicitly show how to disable display output or serial output.
Bugfix: Move update of last_writetime back into "slow loop".

-> The slow loop didn't get called anymore since
the last call timestamp was updated too often.
agentmnm:
config.h:
-added power_poti_max in config.h

Arduino_Pedelec_Controller:
-changed the order of some calculations to be executed before comparison
-changed two comparison expressions with the results of the calculations
Moved switch_disp_2 from pin 13 to pin 12 (see Forum: http://www.pedelecforum.de/forum/showthread.php?17041-Forumscontroller-Vorsicht-vor-Pin-13-als-zweiten-Display-Taster)
Moved reset-pin to arduino-pin 13 when DISPLAY_TYPE_NOKIA_4PIN
The 4-Pin-Mode of the Nokia display should be the standard for newcomers.
Added Support for Thun X-CELL RT
Corrected torque readout: Thun X-Cell RT generates only 8, not 10 pulses/rev
Faster display update for Nokia in 4-pin-mode: 13ms instead of 41ms!
See https://github.com/jenkie/Arduino-Pedelec-Controller/issues/22
Many thanks to pillepalle
moved switch handling to switches.h
implemented short and long-press action of display switches 1,2 and throttle-switch
added support for polar heart-rate monitor interface
https://www.sparkfun.com/products/8661?
uncomment #define SUPPORT_HRMI in config.h to enable monitoring and heart-rate limiting
Graphical display (Nokia) as suggested and implemented by m--k: When bike is moving the much more readable graphical layout is shown