Defines for electronics boards

Added boards.h which contains defines for all the board numbers, plus
some shorthand macros for less typing.
This commit is contained in:
Scott Lahteine
2014-12-18 12:02:36 -08:00
parent bd25e7393b
commit f83d0f2a68
9 changed files with 197 additions and 227 deletions

View File

@ -6,7 +6,7 @@
#include "Wire.h"
// Settings for the I2C based DIGIPOT (MCP4451) on Azteeg X3 Pro
#if MOTHERBOARD == 88
#if MB(5DPRINT)
#define DIGIPOT_I2C_FACTOR 117.96
#define DIGIPOT_I2C_MAX_CURRENT 1.736
#else