pomeroyb / PortalGun

Code to control a Portal Gun (From Rick and Morty)
32 stars 19 forks source link

Timer1 was not declared in this scope. #8

Closed Balfey closed 7 years ago

Balfey commented 7 years ago

PortalGun-master\PortalGun-master\portalGun\portalGun.ino: In function 'void encoderSetup()':

portalGun:167: error: 'Timer1' was not declared in this scope

 Timer1.initialize(1000);

 ^

exit status 1 'Timer1' was not declared in this scope

I'm pretty new to arduino so I'm not really sure what the problem is here?