Skip to content

Commit

Permalink
Merge pull request #1416 from thinkyhead/cleanup_pins
Browse files Browse the repository at this point in the history
Split up pins.h to make pins more manageable
  • Loading branch information
thinkyhead committed Jan 28, 2015
2 parents ab1ddcd + 2ce4a10 commit 3475808
Show file tree
Hide file tree
Showing 46 changed files with 3,127 additions and 2,979 deletions.
2 changes: 1 addition & 1 deletion Marlin/Marlin.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

// Arduino < 1.0.0 does not define this, so we need to do it ourselves
#ifndef analogInputToDigitalPin
# define analogInputToDigitalPin(p) ((p) + A0)
# define analogInputToDigitalPin(p) ((p) + 0xA0)
#endif

#ifdef AT90USB
Expand Down
3 changes: 2 additions & 1 deletion Marlin/boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define BOARD_RAMPS_13_EEB 34 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
#define BOARD_RAMPS_13_EFF 35 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
#define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment
#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignments
#define BOARD_GEN6 5 // Gen6
#define BOARD_GEN6_DELUXE 51 // Gen6 deluxe
#define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2
Expand All @@ -41,6 +41,7 @@
#define BOARD_MEGATRONICS 70 // Megatronics
#define BOARD_MEGATRONICS_2 701 // Megatronics v2.0
#define BOARD_MEGATRONICS_1 702 // Minitronics v1.0
#define BOARD_MEGATRONICS_3 703 // Megatronics v3.0
#define BOARD_OMCA_A 90 // Alpha OMCA board
#define BOARD_OMCA 91 // Final OMCA board
#define BOARD_RAMBO 301 // Rambo
Expand Down
Loading

0 comments on commit 3475808

Please sign in to comment.