Leonardo Compatibility?

Leonardo Compatibility?

Postby NedsTJ » Thu Aug 16, 2012 3:58 pm

I'm getting a compile error just trying to load the example programs:
Code: Select all
...\arduino-1.0.1\libraries\DigitShield\DigitShield.cpp: In member function 'void DigitShieldClass::begin()':
...\arduino-1.0.1\libraries\DigitShield\DigitShield.cpp:68: error: 'ASSR' was not declared in this scope
...\arduino-1.0.1\libraries\DigitShield\DigitShield.cpp:68: error: 'AS2' was not declared in this scope


What am I missing? I'm hoping it's something simple, and just my lack of Arduino knowledge. Did some searching, and didn't come up with anything.
NedsTJ
Newbie
Newbie
 
Posts: 1
Joined: Thu Aug 16, 2012 3:49 pm

Re: Leonardo Compatibility?

Postby Michael » Sat Aug 18, 2012 7:32 am

The Leonardo is a completely different processor, so most code libraries for Arduino are simply not going to work on it. When people say "compatible" they really just mean you can do the simple things like "digitalWrite" and they will work. But low level libraries that manipulate timers and any other AVR registers won't work.

I will need to write a special version of the Digit Shield library for Leonardo -- first I need to get a Leonardo.

I will update the documentation making it clear that this library doesn't work with Leonardo yet.
Michael
Administrator
Administrator
 
Posts: 463
Joined: Sat May 29, 2010 8:24 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests