Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Leonardo support #18

Open
OttoHermansson opened this issue Nov 13, 2015 · 0 comments
Open

Arduino Leonardo support #18

OttoHermansson opened this issue Nov 13, 2015 · 0 comments

Comments

@OttoHermansson
Copy link

I have been working on a small custom commander that uses a Arduino pro micro witch is based on the leonardo. To get it to work the code needs a small update. All that is needed is to change one line of code in "DCCHardware.c" to add definition of ATmega32U4.

Change line 77 from:

#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_AT90CAN128__) || defined(__AVR_AT90CAN64__) || defined(__AVR_AT90CAN32__)

to:

#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_AT90CAN128__) || defined(__AVR_AT90CAN64__) || defined(__AVR_AT90CAN32__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant