Change pinMode to SET_INPUT or SET_OUTPUT

Original code is using WRITE from fastio, but original used pinMode to
set pin direction and did not use the fastio SET_INPUT or SET_OUTPUT.
This caused an issue with the rotary encoder interface to  boards based
on teensyduino, since for teensyduino pin numbers for fastio and the
usual Arduino IO are different.
Real-time filament diameter measurement and control

This feature allows the printer to read the filament diameter
automatically and adjust the printer in real time.  Added code to read
an analog voltage that represents a filament diameter measurement.  This
measurement is delayed in a ring buffer to compensate for sensors that
are a distance away from the extruder.  The measurement is used to
adjust the volumetric_multiplier for the extruder.  Some additional g
codes (M404, M405, M406, M407) are used to set parameters and turn
on/off the control. g code M221 is updated.  Pins for RAMPS1.4, RAMBO,
and Printrboard are identified for analog input.  The configuration file
is updated with relevant user parameters.
Improvements and bug fixes in sensor delay buffer for filament sensor code

Improvement to avoid reinitializing delay buffer with every print. Fixed
issues in buffer indexing and memory out of bounds due to floating point
imprecision.  Simplified the code by avoiding conversion to standard
diameter and 1cu mm extrusion, which caused complications in determining
mm extruded.
Filament sensor changes to config file

Update the config file for improvements and clarifying what diameter to
use in the slicer software.
Revert "Change pinMode to SET_INPUT or SET_OUTPUT"

This reverts commit 1d0fe035f3aeb4af0e686fcb13c9a720248db462.
Correct analog sampling time for additional A to D sample

Adjusted the  #define PID_dT to reflect 10 A to D sample steps, vs
original 8.
Added profile for RAMPS with 2 extruders and 1 fan.
	modified:   Marlin/Configuration.h
	modified:   Marlin/pins.h
Update README.md

Added the new m-codes to this document.
Added #ifndef DELTA wrapper to float delta
Added ifndef
Update thermistortables.h

Add another thermistor table,use with hotend "Simple ONE" & "All in ONE"
Update configuration.h

Add another comment on configuration.h for the value of thermistor.
I make a pull request on thermistortables.h with my thermistor (12),but y see there is a comment on configuration with number 12 but it's not present on thermistortables.h ?

Thx
Update configuration.h

Add another comment for thermistor 13 ,use with Hotend "Simple ONE & All In ONE"
Update thermistortables.h

Add another thermistor table (13),it's a cartridge thermistor up to +300°C,use with Hotend "Simple ONE" & "All In ONE"

Thx
Update motion_control.cpp

G03 Full circle did not work (G02 is working correct)
Proposed feature: Set Home Offsets

Add an item to the LCD menu that applies the current axis position to
the “add_homeing” offset.
Adjust the Z display to hide float rounding errors
Make hotend optional when compiling with lcd support

Signed-off-by: Matthew Schick <matthew.schick@gmail.com>
Merge pull request #1098 from mattsch/optional_hotend_lcd

Make hotend optional when compiling with lcd support
Merge pull request #1097 from thinkyhead/round-up-xyz

Adjust the Z display to hide float rounding errors