hasselk / digitalwritefast

Automatically exported from code.google.com/p/digitalwritefast
0 stars 0 forks source link

Compile fails on Arduino Leonardo #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Attempt to use DigitalReadFast on an Arduino Leonardo 

Line using digital read fast, which compiles on Uno..
  if (digitalReadFast(HomeSwitch) == HIGH){ 
gives error
'TCCR2A' was not declared in this scope
'COM2A1' was not declared in this scope
and so on.

Using Windows 7, Arduino 1.5

Thinking that this may have something to do with the different port mappings on 
the Arduino Leonardo and not having updates to this library.

Original issue reported on code.google.com by Kontrapt...@gmail.com on 9 Jul 2013 at 3:36