Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Analog pin numbering #18

Open
drf5n opened this issue May 30, 2014 · 3 comments
Open

Analog pin numbering #18

drf5n opened this issue May 30, 2014 · 3 comments

Comments

@Traumflug
Copy link
Owner

Interesting observation you did, nobody noticed this so far. There's another diagram, one I actually maintained over the versions: http://reprap.org/wiki/Gen7_Board-AVR_1.5#Pinout It apparently matches the diagram in your third link, the numbering found in the ATmega644P data sheet (page 2) and also the Sanguino silk screen.

The Arduino code in the Gen7-dist folder is copied from somewhere, IIRC from the Sanguino addition. As I investigated it not more than making sure it compiles, it looks like this mismatch was in the Sanguino add-on already.

Before changing anything keep in mind, Marlin and Reptier firmwares both work with this library already, so doing changes shouldn't break these two. Teacup doesn't use the library at all.

Other than that, matching the data sheet is probably the best idea.

@drf5n
Copy link
Author

drf5n commented Jun 5, 2014

I ran into a problem trying to compile Marlin from the command line with a:

HARDWARE_MOTHEBOARD=13 ARDUINO_VERSION=022 make

that didn't like the https://github.com/ErikZalm/Marlin/blob/Marlin_v1/Marlin/Marlin.h#L34 line.

@Traumflug
Copy link
Owner

Not surprising, the stuff coming with the Git repo is the latest Gen7 Arduino IDE Support and looking at http://reprap.org/wiki/Gen7_Arduino_IDE_Support , it's compatible with Arduino 1.0.3 and later, only. Older versions are linked there (and you can combine a newer bootloader with an older library).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants